pub struct HardwareInventory {
pub schema: String,
pub platform: HardwarePlatform,
pub arch: String,
pub vendor: Option<String>,
pub model: Option<String>,
pub model_name: Option<String>,
pub cpu: Option<HardwareCpuSummary>,
pub memory: Option<HardwareMemorySummary>,
pub disks: Vec<HardwareDisk>,
pub evidence: HardwareEvidence,
pub warnings: Vec<HardwareWarning>,
}Fields§
§schema: String§platform: HardwarePlatform§arch: String§vendor: Option<String>§model: Option<String>§model_name: Option<String>§cpu: Option<HardwareCpuSummary>§memory: Option<HardwareMemorySummary>§disks: Vec<HardwareDisk>§evidence: HardwareEvidence§warnings: Vec<HardwareWarning>Trait Implementations§
Source§impl Clone for HardwareInventory
impl Clone for HardwareInventory
Source§fn clone(&self) -> HardwareInventory
fn clone(&self) -> HardwareInventory
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HardwareInventory
impl Debug for HardwareInventory
Source§impl<'de> Deserialize<'de> for HardwareInventory
impl<'de> Deserialize<'de> for HardwareInventory
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
impl Eq for HardwareInventory
Source§impl PartialEq for HardwareInventory
impl PartialEq for HardwareInventory
Source§impl Serialize for HardwareInventory
impl Serialize for HardwareInventory
impl StructuralPartialEq for HardwareInventory
Auto Trait Implementations§
impl Freeze for HardwareInventory
impl RefUnwindSafe for HardwareInventory
impl Send for HardwareInventory
impl Sync for HardwareInventory
impl Unpin for HardwareInventory
impl UnsafeUnpin for HardwareInventory
impl UnwindSafe for HardwareInventory
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> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.