pub struct SmbiosConstants {
pub bios_guid: Guid,
pub system_serial_number: Vec<u8>,
pub base_board_serial_number: Vec<u8>,
pub chassis_serial_number: Vec<u8>,
pub chassis_asset_tag: Vec<u8>,
pub bios_lock_string: Vec<u8>,
pub processor_manufacturer: Vec<u8>,
pub processor_version: Vec<u8>,
pub cpu_info_bundle: Option<SmbiosProcessorInfoBundle>,
}
Expand description
A collection of SMBIOS constants that get reflected into the guest.
There is a lot of info here, but empirically, it’s not super important to make these values 100% accurate…
Fields§
§bios_guid: Guid
§system_serial_number: Vec<u8>
§base_board_serial_number: Vec<u8>
§chassis_serial_number: Vec<u8>
§chassis_asset_tag: Vec<u8>
§bios_lock_string: Vec<u8>
§processor_manufacturer: Vec<u8>
§processor_version: Vec<u8>
§cpu_info_bundle: Option<SmbiosProcessorInfoBundle>
If set to None
, default UNKNOWN values are used
Trait Implementations§
Source§impl Debug for SmbiosConstants
impl Debug for SmbiosConstants
Auto Trait Implementations§
impl Freeze for SmbiosConstants
impl RefUnwindSafe for SmbiosConstants
impl Send for SmbiosConstants
impl Sync for SmbiosConstants
impl Unpin for SmbiosConstants
impl UnwindSafe for SmbiosConstants
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