Struct smbioslib::OnBoardDeviceType
source · [−]pub struct OnBoardDeviceType {
pub raw: u8,
}
Expand description
Fields
raw: u8
Raw value
Implementations
sourceimpl OnBoardDeviceType
impl OnBoardDeviceType
sourcepub fn type_of_device(&self) -> TypeOfDevice
pub fn type_of_device(&self) -> TypeOfDevice
One of the onboard device types
sourcepub fn status(&self) -> DeviceStatus
pub fn status(&self) -> DeviceStatus
Enabled/disabled device status
Trait Implementations
sourceimpl Debug for OnBoardDeviceType
impl Debug for OnBoardDeviceType
sourceimpl From<u8> for OnBoardDeviceType
impl From<u8> for OnBoardDeviceType
sourceimpl Serialize for OnBoardDeviceType
impl Serialize for OnBoardDeviceType
Auto Trait Implementations
impl RefUnwindSafe for OnBoardDeviceType
impl Send for OnBoardDeviceType
impl Sync for OnBoardDeviceType
impl Unpin for OnBoardDeviceType
impl UnwindSafe for OnBoardDeviceType
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