Struct SmbiosSystemOverrides
pub struct SmbiosSystemOverrides {
pub manufacturer: Option<String>,
pub product_name: Option<String>,
pub version: Option<String>,
pub serial_number: Option<String>,
pub sku_number: Option<String>,
pub family: Option<String>,
pub uuid: Guid,
}Expand description
SMBIOS Type 1 (System Information) overrides. None string fields use the
loader default; uuid is concrete (generated per-VM at runtime, Guid::ZERO
by default).
Fields§
§manufacturer: Option<String>System manufacturer string.
product_name: Option<String>System product name string.
version: Option<String>System version string.
serial_number: Option<String>System serial number string.
sku_number: Option<String>System SKU number string.
family: Option<String>System family string.
uuid: GuidSystem UUID (the VM’s BIOS GUID). Stored as raw mixed-endian EFI GUID bytes when delivered to the guest.
Trait Implementations§
§impl Clone for SmbiosSystemOverrides
impl Clone for SmbiosSystemOverrides
§fn clone(&self) -> SmbiosSystemOverrides
fn clone(&self) -> SmbiosSystemOverrides
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 more§impl Debug for SmbiosSystemOverrides
impl Debug for SmbiosSystemOverrides
§impl Default for SmbiosSystemOverrides
impl Default for SmbiosSystemOverrides
§fn default() -> SmbiosSystemOverrides
fn default() -> SmbiosSystemOverrides
Returns the “default value” for a type. Read more
§impl DefaultEncoding for SmbiosSystemOverrides
impl DefaultEncoding for SmbiosSystemOverrides
§impl<'encoding> StructDecodeMetadata<'encoding, Resource> for SmbiosSystemOverrides
impl<'encoding> StructDecodeMetadata<'encoding, Resource> for SmbiosSystemOverrides
§impl StructEncodeMetadata<Resource> for SmbiosSystemOverrides
impl StructEncodeMetadata<Resource> for SmbiosSystemOverrides
Auto Trait Implementations§
impl Freeze for SmbiosSystemOverrides
impl RefUnwindSafe for SmbiosSystemOverrides
impl Send for SmbiosSystemOverrides
impl Sync for SmbiosSystemOverrides
impl Unpin for SmbiosSystemOverrides
impl UnsafeUnpin for SmbiosSystemOverrides
impl UnwindSafe for SmbiosSystemOverrides
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> MeshField for T
impl<T> MeshField for T
§impl<T> MeshPayload for T
impl<T> MeshPayload for T
§impl<T> SerializeMessage for Twhere
T: 'static + MeshPayload + Send,
impl<T> SerializeMessage for Twhere
T: 'static + MeshPayload + Send,
§fn compute_message_size(&mut self, sizer: MessageSizer<'_>)
fn compute_message_size(&mut self, sizer: MessageSizer<'_>)
Computes the message size, as in [
MessageEncode::compute_message_size].§fn write_message(self, writer: MessageWriter<'_, '_, Resource>)
fn write_message(self, writer: MessageWriter<'_, '_, Resource>)
Writes the message, as in [
MessageEncode::write_message].