Struct omnisensor::fan::FanSensorConfig
source · [−]pub struct FanSensorConfig {
index: u64,
name: String,
power_state: PowerState,
subtype: FanSensorType,
thresholds: Vec<ThresholdConfig>,
minreading: f64,
maxreading: f64,
}Expand description
Internal representation of fan sensor config data from dbus.
Fields
index: u64Index of this particular sensor (channel) within the containing hardware device.
name: StringSensor name.
power_state: PowerStateHost power state in which this sensor is active.
subtype: FanSensorTypeSub-type of fan sensor.
thresholds: Vec<ThresholdConfig>Threshold settings for the sensor.
minreading: f64Minimum reading value for the sensor.
maxreading: f64Maximum reading value for the sensor.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FanSensorConfig
impl Send for FanSensorConfig
impl Sync for FanSensorConfig
impl Unpin for FanSensorConfig
impl UnwindSafe for FanSensorConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more