pub struct Platform {
pub num_pci_segments: Option<u8>,
pub iommu_segments: Option<u8>,
pub serial_number: Option<String>,
pub uuid: Option<String>,
pub oem_strings: Option<Vec<String>>,
}
Fields§
§num_pci_segments: Option<u8>
§iommu_segments: Option<u8>
§serial_number: Option<String>
§uuid: Option<String>
§oem_strings: Option<Vec<String>>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Platform
impl<'de> Deserialize<'de> for Platform
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl ToCommand for Platform
impl ToCommand for Platform
fn to_command(&self) -> Vec<String>
fn to_single_command(&self) -> String
impl Eq for Platform
impl StructuralPartialEq for Platform
Auto Trait Implementations§
impl Freeze for Platform
impl RefUnwindSafe for Platform
impl Send for Platform
impl Sync for Platform
impl Unpin for Platform
impl UnwindSafe for Platform
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