[][src]Struct dmi::BaseBoardInfo

#[repr(packed)]
pub struct BaseBoardInfo {
    pub manufacturer: u8,
    pub product: u8,
    pub version: u8,
    pub serial: u8,
    pub asset_tag: u8,
}

Fields

manufacturer: u8product: u8version: u8serial: u8asset_tag: u8

Trait Implementations

impl Debug for BaseBoardInfo[src]

impl Default for BaseBoardInfo[src]

impl Plain for BaseBoardInfo[src]

fn from_bytes(bytes: &[u8]) -> Result<&Self, Error>[src]

fn slice_from_bytes(bytes: &[u8]) -> Result<&[Self], Error>[src]

fn slice_from_bytes_len(bytes: &[u8], len: usize) -> Result<&[Self], Error>[src]

fn from_mut_bytes(bytes: &mut [u8]) -> Result<&mut Self, Error>[src]

fn slice_from_mut_bytes(bytes: &mut [u8]) -> Result<&mut [Self], Error>[src]

fn slice_from_mut_bytes_len(
    bytes: &mut [u8],
    len: usize
) -> Result<&mut [Self], Error>
[src]

fn copy_from_bytes(&mut self, bytes: &[u8]) -> Result<(), Error>[src]

Auto Trait Implementations

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

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

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.

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

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

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