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