pub struct HostInspection {
pub host: HostId,
pub topology_revision: TopologyRevision,
pub identity: HostIdentity,
pub uptime_seconds: f64,
pub memory: HostMemory,
pub load: HostLoadAverage,
}Expand description
Complete read-only host inspection result.
Fields§
§host: HostIdStable fleet host identity.
topology_revision: TopologyRevisionExact topology revision used for collection.
identity: HostIdentityOperating-system identity.
uptime_seconds: f64Uptime in fractional seconds.
memory: HostMemoryMemory counters.
load: HostLoadAverageLoad averages.
Trait Implementations§
Source§impl Clone for HostInspection
impl Clone for HostInspection
Source§fn clone(&self) -> HostInspection
fn clone(&self) -> HostInspection
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 HostInspection
impl Debug for HostInspection
Source§impl<'de> Deserialize<'de> for HostInspection
impl<'de> Deserialize<'de> for HostInspection
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 HostInspection
impl PartialEq for HostInspection
Source§fn eq(&self, other: &HostInspection) -> bool
fn eq(&self, other: &HostInspection) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for HostInspection
impl Serialize for HostInspection
impl StructuralPartialEq for HostInspection
Auto Trait Implementations§
impl Freeze for HostInspection
impl RefUnwindSafe for HostInspection
impl Send for HostInspection
impl Sync for HostInspection
impl Unpin for HostInspection
impl UnsafeUnpin for HostInspection
impl UnwindSafe for HostInspection
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