pub struct PowerSupplyCharacteristics {
pub raw: u16,
}Expand description
§Power Supply Characteristics
Fields§
§raw: u16Raw value
raw is most useful when value is None. This is most likely to occur when the standard was updated but this library code has not been updated to match the current standard.
Implementations§
Source§impl PowerSupplyCharacteristics
impl PowerSupplyCharacteristics
Sourcepub fn power_supply_type(&self) -> PowerSupplyType
pub fn power_supply_type(&self) -> PowerSupplyType
Power Supply Types
Sourcepub fn power_supply_status(&self) -> PowerSupplyStatus
pub fn power_supply_status(&self) -> PowerSupplyStatus
Power Supply Status
Sourcepub fn input_voltage_range_switching(&self) -> InputVoltageRangeSwitching
pub fn input_voltage_range_switching(&self) -> InputVoltageRangeSwitching
DMTF Input Voltage Range Switching
Sourcepub fn unplugged_from_wall(&self) -> bool
pub fn unplugged_from_wall(&self) -> bool
Power supply is unplugged from the wall
Sourcepub fn is_present(&self) -> bool
pub fn is_present(&self) -> bool
Power supply is present
Sourcepub fn hot_replaceable(&self) -> bool
pub fn hot_replaceable(&self) -> bool
Power supply is hot-replaceable