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