Struct smbioslib::SMBiosSystemInformation
source · [−]pub struct SMBiosSystemInformation<'a> { /* private fields */ }
Expand description
System Information (Type 1)
The information in this structure defines attributes of the overall system and is intended to be associated with the Component ID group of the system’s MIF. An SMBIOS implementation is associated with a single system instance and contains one and only one System Information (Type 1) structure.
Compliant with: DMTF SMBIOS Reference Specification 3.4.0 (DSP0134) Document Date: 2020-07-17
Implementations
sourceimpl<'a> SMBiosSystemInformation<'a>
impl<'a> SMBiosSystemInformation<'a>
sourcepub fn manufacturer(&self) -> Option<String>
pub fn manufacturer(&self) -> Option<String>
Manufacturer
sourcepub fn product_name(&self) -> Option<String>
pub fn product_name(&self) -> Option<String>
Product name
sourcepub fn serial_number(&self) -> Option<String>
pub fn serial_number(&self) -> Option<String>
Serial number
sourcepub fn uuid(&self) -> Option<SystemUuidData>
pub fn uuid(&self) -> Option<SystemUuidData>
System UUID
sourcepub fn wakeup_type(&self) -> Option<SystemWakeUpTypeData>
pub fn wakeup_type(&self) -> Option<SystemWakeUpTypeData>
Wake-up type
Identifies the event that caused the system to power up.
sourcepub fn sku_number(&self) -> Option<String>
pub fn sku_number(&self) -> Option<String>
SKU Number
This text string identifies a particular computer configuration for sale. It is sometimes also called a product ID or purchase order number. This number is frequently found in existing fields, but there is no standard format. Typically for a given system board from a given OEM, there are tens of unique processor, memory, hard drive, and optical drive configurations.
sourcepub fn family(&self) -> Option<String>
pub fn family(&self) -> Option<String>
Family
This text string identifies the family to which a particular computer belongs. A family refers to a set of computers that are similar but not identical from a hardware or software point of view. Typically, a family is composed of different computer models, which have different configurations and pricing points. Computers in the same family often have similar branding and cosmetic features.
Trait Implementations
sourceimpl Debug for SMBiosSystemInformation<'_>
impl Debug for SMBiosSystemInformation<'_>
sourceimpl<'a> SMBiosStruct<'a> for SMBiosSystemInformation<'a>
impl<'a> SMBiosStruct<'a> for SMBiosSystemInformation<'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 SMBiosSystemInformation<'_>
impl Serialize for SMBiosSystemInformation<'_>
Auto Trait Implementations
impl<'a> RefUnwindSafe for SMBiosSystemInformation<'a>
impl<'a> Send for SMBiosSystemInformation<'a>
impl<'a> Sync for SMBiosSystemInformation<'a>
impl<'a> Unpin for SMBiosSystemInformation<'a>
impl<'a> UnwindSafe for SMBiosSystemInformation<'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