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