Struct smbioslib::SMBiosBaseboardInformation
source · [−]pub struct SMBiosBaseboardInformation<'a> { /* private fields */ }
Expand description
Baseboard (or Module) Information (Type 2)
Compliant with: DMTF SMBIOS Reference Specification 3.4.0 (DSP0134) Document Date: 2020-07-17
Implementations
sourceimpl<'a> SMBiosBaseboardInformation<'a>
impl<'a> SMBiosBaseboardInformation<'a>
sourcepub fn manufacturer(&self) -> Option<String>
pub fn manufacturer(&self) -> Option<String>
Baseboard manufacturer
sourcepub fn serial_number(&self) -> Option<String>
pub fn serial_number(&self) -> Option<String>
Baseboard serial number
sourcepub fn feature_flags(&self) -> Option<BaseboardFeatures>
pub fn feature_flags(&self) -> Option<BaseboardFeatures>
Collection of flags that identify features of this baseboard.
sourcepub fn location_in_chassis(&self) -> Option<String>
pub fn location_in_chassis(&self) -> Option<String>
This baseboard’s location within the chassis (chassis is referenced by ChassisHandle).
sourcepub fn chassis_handle(&self) -> Option<Handle>
pub fn chassis_handle(&self) -> Option<Handle>
Handle, or instance number, associated with the chassis in which this board resides.
sourcepub fn board_type(&self) -> Option<BoardTypeData>
pub fn board_type(&self) -> Option<BoardTypeData>
Type of baseboard.
sourcepub fn number_of_contained_object_handles(&self) -> Option<u8>
pub fn number_of_contained_object_handles(&self) -> Option<u8>
The count of ObjectHandles.
sourcepub fn contained_object_handle_iterator(&'a self) -> ObjectHandleIterator<'a>ⓘNotable traits for ObjectHandleIterator<'a>impl<'a> Iterator for ObjectHandleIterator<'a> type Item = Handle;
pub fn contained_object_handle_iterator(&'a self) -> ObjectHandleIterator<'a>ⓘNotable traits for ObjectHandleIterator<'a>impl<'a> Iterator for ObjectHandleIterator<'a> type Item = Handle;
List of handles of other structures that are contained by this baseboard.
Trait Implementations
sourceimpl Debug for SMBiosBaseboardInformation<'_>
impl Debug for SMBiosBaseboardInformation<'_>
sourceimpl<'a> SMBiosStruct<'a> for SMBiosBaseboardInformation<'a>
impl<'a> SMBiosStruct<'a> for SMBiosBaseboardInformation<'a>
sourceconst STRUCT_TYPE: u8
const STRUCT_TYPE: u8
The SMBIOS structure type Read more
sourcefn new(parts: &'a UndefinedStruct) -> Self
fn new(parts: &'a UndefinedStruct) -> Self
Creates a new instance of the implementing SMBIOS type
sourcefn parts(&self) -> &'a UndefinedStruct
fn parts(&self) -> &'a UndefinedStruct
Contains the standard parts/sections of the implementing SMBIOS type.
sourceimpl Serialize for SMBiosBaseboardInformation<'_>
impl Serialize for SMBiosBaseboardInformation<'_>
Auto Trait Implementations
impl<'a> RefUnwindSafe for SMBiosBaseboardInformation<'a>
impl<'a> Send for SMBiosBaseboardInformation<'a>
impl<'a> Sync for SMBiosBaseboardInformation<'a>
impl<'a> Unpin for SMBiosBaseboardInformation<'a>
impl<'a> UnwindSafe for SMBiosBaseboardInformation<'a>
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