Enum smbioslib::PortableBatteryDesignCapacity [−][src]
pub enum PortableBatteryDesignCapacity { MilliWattHours(u16), Unknown, }
Variants
MilliWattHours(u16)
Design capacity of the battery in mWatt-hours
For version 2.2+ implementations, this value is multiplied by the ‘design_capacity_multiplier’ to produce the actual value.
Design capacity of the battery in mWatt-hours is unknown.
Trait Implementations
impl Debug for PortableBatteryDesignCapacity
[src]
impl Debug for PortableBatteryDesignCapacity
[src]impl From<u16> for PortableBatteryDesignCapacity
[src]
impl From<u16> for PortableBatteryDesignCapacity
[src]impl PartialEq<PortableBatteryDesignCapacity> for PortableBatteryDesignCapacity
[src]
impl PartialEq<PortableBatteryDesignCapacity> for PortableBatteryDesignCapacity
[src]fn eq(&self, other: &PortableBatteryDesignCapacity) -> bool
[src]
fn eq(&self, other: &PortableBatteryDesignCapacity) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &PortableBatteryDesignCapacity) -> bool
[src]
fn ne(&self, other: &PortableBatteryDesignCapacity) -> bool
[src]This method tests for !=
.