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