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§
source§impl Debug for MaxPowerCapacity
impl Debug for MaxPowerCapacity
source§impl From<u16> for MaxPowerCapacity
impl From<u16> for MaxPowerCapacity
source§impl PartialEq<MaxPowerCapacity> for MaxPowerCapacity
impl PartialEq<MaxPowerCapacity> for MaxPowerCapacity
source§fn 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 ==
.source§impl 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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more