pub struct DeviceStats {
pub summary: Option<Box<StatValue>>,
pub stats: Option<Box<StatObject>>,
pub timestamp: Option<String>,
}
Fields§
§summary: Option<Box<StatValue>>
§stats: Option<Box<StatObject>>
§timestamp: Option<String>
Implementations§
Source§impl DeviceStats
impl DeviceStats
pub fn new() -> DeviceStats
Trait Implementations§
Source§impl Clone for DeviceStats
impl Clone for DeviceStats
Source§fn clone(&self) -> DeviceStats
fn clone(&self) -> DeviceStats
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 moreSource§impl Debug for DeviceStats
impl Debug for DeviceStats
Source§impl<'de> Deserialize<'de> for DeviceStats
impl<'de> Deserialize<'de> for DeviceStats
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 DeviceStats
impl PartialEq for DeviceStats
Source§impl Serialize for DeviceStats
impl Serialize for DeviceStats
impl StructuralPartialEq for DeviceStats
Auto Trait Implementations§
impl Freeze for DeviceStats
impl RefUnwindSafe for DeviceStats
impl Send for DeviceStats
impl Sync for DeviceStats
impl Unpin for DeviceStats
impl UnwindSafe for DeviceStats
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