Struct smbioslib::OnBoardDeviceType [−][src]
pub struct OnBoardDeviceType {
pub raw: u8,
}Fields
raw: u8Raw value
Implementations
impl OnBoardDeviceType[src]
impl OnBoardDeviceType[src]pub fn type_of_device(&self) -> TypeOfDevice[src]
pub fn type_of_device(&self) -> TypeOfDevice[src]One of the onboard device types
pub fn status(&self) -> DeviceStatus[src]
pub fn status(&self) -> DeviceStatus[src]Enabled/disabled device status
Trait Implementations
impl Debug for OnBoardDeviceType[src]
impl Debug for OnBoardDeviceType[src]impl Serialize for OnBoardDeviceType[src]
impl Serialize for OnBoardDeviceType[src]