pub struct NetworkStatisticsEntryFile {
pub file_type: Option<FileType>,
pub network_type: NetworkType,
pub sent_bytes: i64,
pub received_bytes: i64,
}
Expand description
Contains information about the total amount of data that was used to send and receive files
Fields§
§file_type: Option<FileType>
Type of the file the data is part of; pass null if the data isn’t related to files
network_type: NetworkType
Type of the network the data was sent through. Call setNetworkType to maintain the actual network type
sent_bytes: i64
Total number of bytes sent
received_bytes: i64
Total number of bytes received
Trait Implementations§
Source§impl Clone for NetworkStatisticsEntryFile
impl Clone for NetworkStatisticsEntryFile
Source§fn clone(&self) -> NetworkStatisticsEntryFile
fn clone(&self) -> NetworkStatisticsEntryFile
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 NetworkStatisticsEntryFile
impl Debug for NetworkStatisticsEntryFile
Source§impl<'de> Deserialize<'de> for NetworkStatisticsEntryFile
impl<'de> Deserialize<'de> for NetworkStatisticsEntryFile
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
impl StructuralPartialEq for NetworkStatisticsEntryFile
Auto Trait Implementations§
impl Freeze for NetworkStatisticsEntryFile
impl RefUnwindSafe for NetworkStatisticsEntryFile
impl Send for NetworkStatisticsEntryFile
impl Sync for NetworkStatisticsEntryFile
impl Unpin for NetworkStatisticsEntryFile
impl UnwindSafe for NetworkStatisticsEntryFile
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