pub struct HwInventory {
pub pc_id: String,
pub hostname: String,
pub os_name: String,
pub os_version: String,
pub os_build: Option<String>,
pub cpu_model: String,
pub cpu_cores: u32,
pub ram_bytes: u64,
pub disks: Vec<DiskInfo>,
pub collected_at: DateTime<Utc>,
}Fields§
§pc_id: String§hostname: String§os_name: String§os_version: String§os_build: Option<String>§cpu_model: String§cpu_cores: u32§ram_bytes: u64§disks: Vec<DiskInfo>§collected_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for HwInventory
impl Clone for HwInventory
Source§fn clone(&self) -> HwInventory
fn clone(&self) -> HwInventory
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 HwInventory
impl Debug for HwInventory
Source§impl<'de> Deserialize<'de> for HwInventory
impl<'de> Deserialize<'de> for HwInventory
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
Auto Trait Implementations§
impl Freeze for HwInventory
impl RefUnwindSafe for HwInventory
impl Send for HwInventory
impl Sync for HwInventory
impl Unpin for HwInventory
impl UnsafeUnpin for HwInventory
impl UnwindSafe for HwInventory
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