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§
source§impl Debug for PortInformationPortTypeData
impl Debug for PortInformationPortTypeData
source§impl Deref for PortInformationPortTypeData
impl Deref for PortInformationPortTypeData
source§impl 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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more