Struct dmidecode::baseboard::BaseBoard[][src]

pub struct BaseBoard<'buffer> {
    pub handle: u16,
    pub manufacturer: &'buffer str,
    pub product: &'buffer str,
    pub version: &'buffer str,
    pub serial: &'buffer str,
    pub asset: Option<&'buffer str>,
    pub feature_flags: Option<BaseBoardFlags>,
    pub location_in_chassis: Option<&'buffer str>,
    pub chassis_handle: Option<u16>,
    pub board_type: Option<BoardType>,
}

The BaseBoard table defined in the SMBIOS specification.

Optional fields will only be set if the version of the parsed SMBIOS table is high enough to have defined the field.

Fields

handle: u16manufacturer: &'buffer strproduct: &'buffer strversion: &'buffer strserial: &'buffer strasset: Option<&'buffer str>feature_flags: Option<BaseBoardFlags>location_in_chassis: Option<&'buffer str>chassis_handle: Option<u16>board_type: Option<BoardType>

Trait Implementations

impl<'buffer> Clone for BaseBoard<'buffer>[src]

impl<'buffer> Debug for BaseBoard<'buffer>[src]

impl<'buffer> Eq for BaseBoard<'buffer>[src]

impl<'buffer> Hash for BaseBoard<'buffer>[src]

impl<'buffer> PartialEq<BaseBoard<'buffer>> for BaseBoard<'buffer>[src]

impl<'buffer> StructuralEq for BaseBoard<'buffer>[src]

impl<'buffer> StructuralPartialEq for BaseBoard<'buffer>[src]

Auto Trait Implementations

impl<'buffer> RefUnwindSafe for BaseBoard<'buffer>

impl<'buffer> Send for BaseBoard<'buffer>

impl<'buffer> Sync for BaseBoard<'buffer>

impl<'buffer> Unpin for BaseBoard<'buffer>

impl<'buffer> UnwindSafe for BaseBoard<'buffer>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.