Struct below_model::sample::SystemSample
source · [−]pub struct SystemSample {
pub stat: Stat,
pub meminfo: MemInfo,
pub vmstat: VmStat,
pub hostname: String,
pub disks: DiskMap,
pub btrfs: Option<BtrfsMap>,
pub kernel_version: Option<String>,
pub os_release: Option<String>,
}
Fields
stat: Stat
meminfo: MemInfo
vmstat: VmStat
hostname: String
disks: DiskMap
btrfs: Option<BtrfsMap>
kernel_version: Option<String>
os_release: Option<String>
Trait Implementations
sourceimpl Clone for SystemSample
impl Clone for SystemSample
sourcefn clone(&self) -> SystemSample
fn clone(&self) -> SystemSample
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SystemSample
impl Debug for SystemSample
sourceimpl Default for SystemSample
impl Default for SystemSample
sourcefn default() -> SystemSample
fn default() -> SystemSample
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for SystemSample
impl<'de> Deserialize<'de> for SystemSample
sourcefn 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
sourceimpl PartialEq<SystemSample> for SystemSample
impl PartialEq<SystemSample> for SystemSample
sourcefn eq(&self, other: &SystemSample) -> bool
fn eq(&self, other: &SystemSample) -> bool
sourceimpl Serialize for SystemSample
impl Serialize for SystemSample
impl StructuralPartialEq for SystemSample
Auto Trait Implementations
impl RefUnwindSafe for SystemSample
impl Send for SystemSample
impl Sync for SystemSample
impl Unpin for SystemSample
impl UnwindSafe for SystemSample
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more