pub struct SmbiosSystemInfo<'a> {
pub manufacturer: &'a str,
pub product_name: &'a str,
pub version: &'a str,
pub serial_number: &'a str,
pub sku_number: &'a str,
pub family: &'a str,
pub uuid: [u8; 16],
}Expand description
System Information (SMBIOS Type 1).
Fields§
§manufacturer: &'a strSystem manufacturer string.
product_name: &'a strSystem product name string.
version: &'a strSystem version string.
serial_number: &'a strSystem serial number string.
sku_number: &'a strSystem SKU number string.
family: &'a strSystem family string.
uuid: [u8; 16]System UUID, as raw EFI GUID bytes (mixed-endian, as stored by the UEFI path).
Trait Implementations§
Source§impl<'a> Clone for SmbiosSystemInfo<'a>
impl<'a> Clone for SmbiosSystemInfo<'a>
Source§fn clone(&self) -> SmbiosSystemInfo<'a>
fn clone(&self) -> SmbiosSystemInfo<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for SmbiosSystemInfo<'a>
impl<'a> Debug for SmbiosSystemInfo<'a>
impl<'a> Copy for SmbiosSystemInfo<'a>
Auto Trait Implementations§
impl<'a> Freeze for SmbiosSystemInfo<'a>
impl<'a> RefUnwindSafe for SmbiosSystemInfo<'a>
impl<'a> Send for SmbiosSystemInfo<'a>
impl<'a> Sync for SmbiosSystemInfo<'a>
impl<'a> Unpin for SmbiosSystemInfo<'a>
impl<'a> UnsafeUnpin for SmbiosSystemInfo<'a>
impl<'a> UnwindSafe for SmbiosSystemInfo<'a>
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