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