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