Enum smbioslib::MaxPowerCapacity
source · [−]pub enum MaxPowerCapacity {
Watts(u16),
Unknown,
}
Expand description
Max Power Capacity
Maximum sustained power output in Watts
Variants
Watts(u16)
Maximum sustained power output in Watts
Unknown
Maximum sustained power output is unknown
Trait Implementations
sourceimpl Debug for MaxPowerCapacity
impl Debug for MaxPowerCapacity
sourceimpl From<u16> for MaxPowerCapacity
impl From<u16> for MaxPowerCapacity
sourceimpl PartialEq<MaxPowerCapacity> for MaxPowerCapacity
impl PartialEq<MaxPowerCapacity> for MaxPowerCapacity
sourcefn eq(&self, other: &MaxPowerCapacity) -> bool
fn eq(&self, other: &MaxPowerCapacity) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MaxPowerCapacity) -> bool
fn ne(&self, other: &MaxPowerCapacity) -> bool
This method tests for !=
.
sourceimpl Serialize for MaxPowerCapacity
impl Serialize for MaxPowerCapacity
impl Eq for MaxPowerCapacity
impl StructuralEq for MaxPowerCapacity
impl StructuralPartialEq for MaxPowerCapacity
Auto Trait Implementations
impl RefUnwindSafe for MaxPowerCapacity
impl Send for MaxPowerCapacity
impl Sync for MaxPowerCapacity
impl Unpin for MaxPowerCapacity
impl UnwindSafe for MaxPowerCapacity
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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