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.

Unknown

Design capacity of the battery in mWatt-hours is unknown.

Trait Implementations

impl Debug for PortableBatteryDesignCapacity[src]

impl Eq for PortableBatteryDesignCapacity[src]

impl From<u16> for PortableBatteryDesignCapacity[src]

impl PartialEq<PortableBatteryDesignCapacity> for PortableBatteryDesignCapacity[src]

impl StructuralEq for PortableBatteryDesignCapacity[src]

impl StructuralPartialEq for PortableBatteryDesignCapacity[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.