Struct decthings_api::rpc::model::SysinfoDataPoint
source · pub struct SysinfoDataPoint {
pub timestamp: i64,
pub cpus: f32,
pub memory: u32,
pub disk: Option<u32>,
}
Fields§
§timestamp: i64
§cpus: f32
§memory: u32
§disk: Option<u32>
Trait Implementations§
source§impl Clone for SysinfoDataPoint
impl Clone for SysinfoDataPoint
source§fn clone(&self) -> SysinfoDataPoint
fn clone(&self) -> SysinfoDataPoint
Returns a copy 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 SysinfoDataPoint
impl Debug for SysinfoDataPoint
source§impl<'de> Deserialize<'de> for SysinfoDataPoint
impl<'de> Deserialize<'de> for SysinfoDataPoint
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
Auto Trait Implementations§
impl Freeze for SysinfoDataPoint
impl RefUnwindSafe for SysinfoDataPoint
impl Send for SysinfoDataPoint
impl Sync for SysinfoDataPoint
impl Unpin for SysinfoDataPoint
impl UnwindSafe for SysinfoDataPoint
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