pub struct HostSnapshot {
pub identity: HostIdentity,
pub os: OsInfo,
pub guids: GuidInfo,
pub bios: Option<BiosInfo>,
pub logical_disks: Vec<LogicalDiskInfo>,
pub physical_disks: Vec<PhysicalDiskInfo>,
pub networks: Vec<NetworkInterfaceInfo>,
pub users: Vec<UserInfo>,
pub section_errors: Vec<SnapshotSectionError>,
}Expand description
Top-level host inventory snapshot.
Fields§
§identity: HostIdentityHost identity details.
os: OsInfoOperating system details.
guids: GuidInfoGUID values.
bios: Option<BiosInfo>BIOS/firmware details when available.
logical_disks: Vec<LogicalDiskInfo>Logical volume inventory.
physical_disks: Vec<PhysicalDiskInfo>Physical disk inventory.
networks: Vec<NetworkInterfaceInfo>Network interface inventory.
users: Vec<UserInfo>User/account inventory.
section_errors: Vec<SnapshotSectionError>Per-section failures captured while building this snapshot.
Trait Implementations§
Source§impl Clone for HostSnapshot
impl Clone for HostSnapshot
Source§fn clone(&self) -> HostSnapshot
fn clone(&self) -> HostSnapshot
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 moreAuto Trait Implementations§
impl Freeze for HostSnapshot
impl RefUnwindSafe for HostSnapshot
impl Send for HostSnapshot
impl Sync for HostSnapshot
impl Unpin for HostSnapshot
impl UnsafeUnpin for HostSnapshot
impl UnwindSafe for HostSnapshot
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