pub struct DeviceStats {
pub address: String,
pub at: String,
pub client_version: String,
pub connected: bool,
pub crypto: String,
pub in_bytes_total: u64,
pub out_bytes_total: u64,
pub paused: bool,
pub device_type: String,
}Fields§
§address: String§at: String§client_version: String§connected: bool§crypto: String§in_bytes_total: u64§out_bytes_total: u64§paused: bool§device_type: StringTrait Implementations§
Source§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
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