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: u64
Index of this particular sensor (channel) within the containing hardware device.
name: String
Sensor name.
power_state: PowerState
Host power state in which this sensor is active.
subtype: FanSensorType
Sub-type of fan sensor.
thresholds: Vec<ThresholdConfig>
Threshold settings for the sensor.
minreading: f64
Minimum reading value for the sensor.
maxreading: f64
Maximum 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