pub struct Stat {
pub download_speed: Option<u64>,
pub upload_speed: Option<u64>,
pub num_active: Option<u32>,
pub num_waiting: Option<u32>,
pub num_stopped: Option<u32>,
pub num_stopped_total: Option<u32>,
}Fields§
§download_speed: Option<u64>§upload_speed: Option<u64>§num_active: Option<u32>§num_waiting: Option<u32>§num_stopped: Option<u32>§num_stopped_total: Option<u32>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Stat
impl<'de> Deserialize<'de> for Stat
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 Stat
impl RefUnwindSafe for Stat
impl Send for Stat
impl Sync for Stat
impl Unpin for Stat
impl UnwindSafe for Stat
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