Struct smbioslib::SlotCurrentUsageData
source · [−]pub struct SlotCurrentUsageData {
pub raw: u8,
pub value: SlotCurrentUsage,
}
Expand description
Fields
raw: u8
Raw 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.
value: SlotCurrentUsage
The contained SlotCurrentUsage value
Trait Implementations
sourceimpl Debug for SlotCurrentUsageData
impl Debug for SlotCurrentUsageData
sourceimpl Deref for SlotCurrentUsageData
impl Deref for SlotCurrentUsageData
type Target = SlotCurrentUsage
type Target = SlotCurrentUsage
The resulting type after dereferencing.
sourceimpl From<u8> for SlotCurrentUsageData
impl From<u8> for SlotCurrentUsageData
sourceimpl Serialize for SlotCurrentUsageData
impl Serialize for SlotCurrentUsageData
Auto Trait Implementations
impl RefUnwindSafe for SlotCurrentUsageData
impl Send for SlotCurrentUsageData
impl Sync for SlotCurrentUsageData
impl Unpin for SlotCurrentUsageData
impl UnwindSafe for SlotCurrentUsageData
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