pub struct GetNetworkStatistics {
pub only_current: bool,
}
Expand description
Returns network data usage statistics. Can be called before authorization
Fields§
§only_current: bool
If true, returns only data for the current library launch
Trait Implementations§
Source§impl Clone for GetNetworkStatistics
impl Clone for GetNetworkStatistics
Source§fn clone(&self) -> GetNetworkStatistics
fn clone(&self) -> GetNetworkStatistics
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 GetNetworkStatistics
impl Debug for GetNetworkStatistics
Source§impl<'de> Deserialize<'de> for GetNetworkStatistics
impl<'de> Deserialize<'de> for GetNetworkStatistics
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 Method for GetNetworkStatistics
impl Method for GetNetworkStatistics
Auto Trait Implementations§
impl Freeze for GetNetworkStatistics
impl RefUnwindSafe for GetNetworkStatistics
impl Send for GetNetworkStatistics
impl Sync for GetNetworkStatistics
impl Unpin for GetNetworkStatistics
impl UnwindSafe for GetNetworkStatistics
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