pub struct System<'buffer> {
pub handle: u16,
pub manufacturer: &'buffer str,
pub product: &'buffer str,
pub version: &'buffer str,
pub serial: &'buffer str,
pub uuid: Option<Uuid>,
pub wakeup: Option<WakeupType>,
pub sku: Option<&'buffer str>,
pub family: Option<&'buffer str>,
}Expand description
The System 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: u16§manufacturer: &'buffer str§product: &'buffer str§version: &'buffer str§serial: &'buffer str§uuid: Option<Uuid>§wakeup: Option<WakeupType>§sku: Option<&'buffer str>§family: Option<&'buffer str>Trait Implementations§
impl<'buffer> Eq for System<'buffer>
impl<'buffer> StructuralPartialEq for System<'buffer>
Auto Trait Implementations§
impl<'buffer> Freeze for System<'buffer>
impl<'buffer> RefUnwindSafe for System<'buffer>
impl<'buffer> Send for System<'buffer>
impl<'buffer> Sync for System<'buffer>
impl<'buffer> Unpin for System<'buffer>
impl<'buffer> UnwindSafe for System<'buffer>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more