Enum rust_tdlib::types::NetworkStatisticsEntry
source · [−]pub enum NetworkStatisticsEntry {
Call(NetworkStatisticsEntryCall),
File(NetworkStatisticsEntryFile),
// some variants omitted
}
Expand description
Contains statistics about network usage
Variants
Call(NetworkStatisticsEntryCall)
Contains information about the total amount of data that was used for calls
File(NetworkStatisticsEntryFile)
Contains information about the total amount of data that was used to send and receive files
Implementations
Trait Implementations
sourceimpl AsRef<NetworkStatisticsEntry> for NetworkStatisticsEntry
impl AsRef<NetworkStatisticsEntry> for NetworkStatisticsEntry
sourcefn as_ref(&self) -> &NetworkStatisticsEntry
fn as_ref(&self) -> &NetworkStatisticsEntry
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for NetworkStatisticsEntry
impl Clone for NetworkStatisticsEntry
sourcefn clone(&self) -> NetworkStatisticsEntry
fn clone(&self) -> NetworkStatisticsEntry
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for NetworkStatisticsEntry
impl Debug for NetworkStatisticsEntry
sourceimpl Default for NetworkStatisticsEntry
impl Default for NetworkStatisticsEntry
sourceimpl<'de> Deserialize<'de> for NetworkStatisticsEntry
impl<'de> Deserialize<'de> for NetworkStatisticsEntry
sourcefn 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
sourceimpl Serialize for NetworkStatisticsEntry
impl Serialize for NetworkStatisticsEntry
Auto Trait Implementations
impl RefUnwindSafe for NetworkStatisticsEntry
impl Send for NetworkStatisticsEntry
impl Sync for NetworkStatisticsEntry
impl Unpin for NetworkStatisticsEntry
impl UnwindSafe for NetworkStatisticsEntry
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more