pub struct DeviceFacts {
pub os: Option<Option<OperatingSystem>>,
pub disks: Option<Option<Vec<Disk>>>,
pub network: Option<Option<Network>>,
pub hardware: Option<Option<Hardware>>,
pub software: Option<Option<Vec<Software>>>,
pub processes: Option<Option<Vec<Process>>>,
pub users: Option<Option<Vec<DeviceUser>>>,
pub groups: Option<Option<Vec<DeviceGroup>>>,
pub vendor: Option<HashMap<String, Value>>,
}Fields§
§os: Option<Option<OperatingSystem>>§disks: Option<Option<Vec<Disk>>>§network: Option<Option<Network>>§hardware: Option<Option<Hardware>>§software: Option<Option<Vec<Software>>>§processes: Option<Option<Vec<Process>>>§users: Option<Option<Vec<DeviceUser>>>§groups: Option<Option<Vec<DeviceGroup>>>§vendor: Option<HashMap<String, Value>>Implementations§
Source§impl DeviceFacts
impl DeviceFacts
pub fn new() -> DeviceFacts
Trait Implementations§
Source§impl Clone for DeviceFacts
impl Clone for DeviceFacts
Source§fn clone(&self) -> DeviceFacts
fn clone(&self) -> DeviceFacts
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 moreSource§impl Debug for DeviceFacts
impl Debug for DeviceFacts
Source§impl Default for DeviceFacts
impl Default for DeviceFacts
Source§fn default() -> DeviceFacts
fn default() -> DeviceFacts
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeviceFacts
impl<'de> Deserialize<'de> for DeviceFacts
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 PartialEq for DeviceFacts
impl PartialEq for DeviceFacts
Source§impl Serialize for DeviceFacts
impl Serialize for DeviceFacts
impl StructuralPartialEq for DeviceFacts
Auto Trait Implementations§
impl Freeze for DeviceFacts
impl RefUnwindSafe for DeviceFacts
impl Send for DeviceFacts
impl Sync for DeviceFacts
impl Unpin for DeviceFacts
impl UnsafeUnpin for DeviceFacts
impl UnwindSafe for DeviceFacts
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