pub struct HealthOsSnapshot {
pub os: String,
pub kernel_version: Option<String>,
pub os_version: Option<String>,
pub hostname: Option<String>,
pub arch: String,
pub uptime_secs: u64,
pub extra: BTreeMap<String, Value>,
}Fields§
§os: String§kernel_version: Option<String>§os_version: Option<String>§hostname: Option<String>§arch: String§uptime_secs: u64§extra: BTreeMap<String, Value>Trait Implementations§
Source§impl Clone for HealthOsSnapshot
impl Clone for HealthOsSnapshot
Source§fn clone(&self) -> HealthOsSnapshot
fn clone(&self) -> HealthOsSnapshot
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 HealthOsSnapshot
impl Debug for HealthOsSnapshot
Source§impl<'de> Deserialize<'de> for HealthOsSnapshot
impl<'de> Deserialize<'de> for HealthOsSnapshot
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 HealthOsSnapshot
impl PartialEq for HealthOsSnapshot
Source§impl Serialize for HealthOsSnapshot
impl Serialize for HealthOsSnapshot
impl StructuralPartialEq for HealthOsSnapshot
Auto Trait Implementations§
impl Freeze for HealthOsSnapshot
impl RefUnwindSafe for HealthOsSnapshot
impl Send for HealthOsSnapshot
impl Sync for HealthOsSnapshot
impl Unpin for HealthOsSnapshot
impl UnsafeUnpin for HealthOsSnapshot
impl UnwindSafe for HealthOsSnapshot
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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