pub struct Config {
pub adapter: AdapterConfig,
pub mqtt: MqttConfig,
pub scan: ScanSection,
pub homeassistant: HomeAssistantConfig,
pub data: DataConfig,
pub bthome_keys: Vec<KeyEntry>,
pub kkm_passwords: Vec<PasswordEntry>,
pub irks: Vec<IrkEntry>,
pub gatt_services: Vec<ServiceDef>,
pub advertising: Vec<AdvertisingEntry>,
pub mesh: MeshConfig,
}Expand description
The whole file.
Fields§
§adapter: AdapterConfigThe controller.
mqtt: MqttConfigThe broker.
scan: ScanSectionScanning.
homeassistant: HomeAssistantConfigHome Assistant discovery.
data: DataConfigWhere bonds and the local identity live.
bthome_keys: Vec<KeyEntry>BTHome bind keys, for encrypted BTHome devices.
kkm_passwords: Vec<PasswordEntry>KKM beacon passwords, for encrypted KKM sensor frames.
irks: Vec<IrkEntry>IRKs of devices known without pairing, so their private addresses resolve.
gatt_services: Vec<ServiceDef>GATT services the bridge serves.
advertising: Vec<AdvertisingEntry>Advertising sets started with the bridge.
mesh: MeshConfigBluetooth Mesh, with the bridge as the provisioner.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Config
impl<'de> Deserialize<'de> for Config
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more