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>,
}Expand description
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> Eq for BaseBoard<'buffer>
impl<'buffer> StructuralEq for BaseBoard<'buffer>
impl<'buffer> StructuralPartialEq for BaseBoard<'buffer>
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more