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