Struct colibri::PacketLoss
source · pub struct PacketLoss {
pub total: u64,
pub download: u64,
pub upload: u64,
}
Fields§
§total: u64
§download: u64
§upload: u64
Trait Implementations§
source§impl Clone for PacketLoss
impl Clone for PacketLoss
source§fn clone(&self) -> PacketLoss
fn clone(&self) -> PacketLoss
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 PacketLoss
impl Debug for PacketLoss
source§impl<'de> Deserialize<'de> for PacketLoss
impl<'de> Deserialize<'de> for PacketLoss
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 PartialEq for PacketLoss
impl PartialEq for PacketLoss
source§fn eq(&self, other: &PacketLoss) -> bool
fn eq(&self, other: &PacketLoss) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PacketLoss
impl Serialize for PacketLoss
impl StructuralPartialEq for PacketLoss
Auto Trait Implementations§
impl Freeze for PacketLoss
impl RefUnwindSafe for PacketLoss
impl Send for PacketLoss
impl Sync for PacketLoss
impl Unpin for PacketLoss
impl UnwindSafe for PacketLoss
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