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