pub struct NetworkStatisticsEntryCall { /* private fields */ }
Expand description
Contains information about the total amount of data that was used for calls
Implementations§
Source§impl NetworkStatisticsEntryCall
impl NetworkStatisticsEntryCall
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> NetworkStatisticsEntryCallBuilder
pub fn network_type(&self) -> &NetworkType
pub fn sent_bytes(&self) -> i64
pub fn received_bytes(&self) -> i64
pub fn duration(&self) -> f32
Trait Implementations§
Source§impl AsRef<NetworkStatisticsEntryCall> for NetworkStatisticsEntryCall
impl AsRef<NetworkStatisticsEntryCall> for NetworkStatisticsEntryCall
Source§fn as_ref(&self) -> &NetworkStatisticsEntryCall
fn as_ref(&self) -> &NetworkStatisticsEntryCall
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for NetworkStatisticsEntryCall
impl Clone for NetworkStatisticsEntryCall
Source§fn clone(&self) -> NetworkStatisticsEntryCall
fn clone(&self) -> NetworkStatisticsEntryCall
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 NetworkStatisticsEntryCall
impl Debug for NetworkStatisticsEntryCall
Source§impl Default for NetworkStatisticsEntryCall
impl Default for NetworkStatisticsEntryCall
Source§fn default() -> NetworkStatisticsEntryCall
fn default() -> NetworkStatisticsEntryCall
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NetworkStatisticsEntryCall
impl<'de> Deserialize<'de> for NetworkStatisticsEntryCall
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 TDNetworkStatisticsEntry for NetworkStatisticsEntryCall
Auto Trait Implementations§
impl Freeze for NetworkStatisticsEntryCall
impl RefUnwindSafe for NetworkStatisticsEntryCall
impl Send for NetworkStatisticsEntryCall
impl Sync for NetworkStatisticsEntryCall
impl Unpin for NetworkStatisticsEntryCall
impl UnwindSafe for NetworkStatisticsEntryCall
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