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§
Source§impl AsRef<NetworkStatisticsEntry> for NetworkStatisticsEntry
impl AsRef<NetworkStatisticsEntry> for NetworkStatisticsEntry
Source§fn as_ref(&self) -> &NetworkStatisticsEntry
fn as_ref(&self) -> &NetworkStatisticsEntry
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for NetworkStatisticsEntry
impl Clone for NetworkStatisticsEntry
Source§fn clone(&self) -> NetworkStatisticsEntry
fn clone(&self) -> NetworkStatisticsEntry
Returns a copy 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 NetworkStatisticsEntry
impl Debug for NetworkStatisticsEntry
Source§impl Default for NetworkStatisticsEntry
impl Default for NetworkStatisticsEntry
Source§fn default() -> NetworkStatisticsEntry
fn default() -> NetworkStatisticsEntry
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NetworkStatisticsEntry
impl<'de> Deserialize<'de> for NetworkStatisticsEntry
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 NetworkStatisticsEntry
impl RefUnwindSafe for NetworkStatisticsEntry
impl Send for NetworkStatisticsEntry
impl Sync for NetworkStatisticsEntry
impl Unpin for NetworkStatisticsEntry
impl UnwindSafe for NetworkStatisticsEntry
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