pub struct DeviceSettings {
pub smart_home_enabled: bool,
pub bluetooth_range: BluetoothRange,
pub temperature_unit: TemperatureUnit,
pub radon_unit: RadonUnit,
pub buzzer_enabled: bool,
pub auto_calibration_enabled: bool,
}Expand description
Device settings read from the SENSOR_STATE characteristic.
Fields§
§smart_home_enabled: boolSmart Home integration enabled.
bluetooth_range: BluetoothRangeBluetooth range setting.
temperature_unit: TemperatureUnitTemperature display unit.
radon_unit: RadonUnitRadon display unit (only relevant for Aranet Radon).
buzzer_enabled: boolWhether buzzer is enabled.
auto_calibration_enabled: boolWhether automatic calibration is enabled (Aranet4 only).
Trait Implementations§
Source§impl Clone for DeviceSettings
impl Clone for DeviceSettings
Source§impl Debug for DeviceSettings
impl Debug for DeviceSettings
Auto Trait Implementations§
impl Freeze for DeviceSettings
impl RefUnwindSafe for DeviceSettings
impl Send for DeviceSettings
impl Sync for DeviceSettings
impl Unpin for DeviceSettings
impl UnsafeUnpin for DeviceSettings
impl UnwindSafe for DeviceSettings
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