pub struct ReceivedStatsSample {
pub count: Option<u32>,
pub window: Option<u64>,
}Fields§
§count: Option<u32>§window: Option<u64>Trait Implementations§
Source§impl Clone for ReceivedStatsSample
impl Clone for ReceivedStatsSample
Source§fn clone(&self) -> ReceivedStatsSample
fn clone(&self) -> ReceivedStatsSample
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ReceivedStatsSample
impl Debug for ReceivedStatsSample
Source§impl PartialEq for ReceivedStatsSample
impl PartialEq for ReceivedStatsSample
Source§fn eq(&self, other: &ReceivedStatsSample) -> bool
fn eq(&self, other: &ReceivedStatsSample) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ReceivedStatsSample
impl Eq for ReceivedStatsSample
impl StructuralPartialEq for ReceivedStatsSample
Auto Trait Implementations§
impl Freeze for ReceivedStatsSample
impl RefUnwindSafe for ReceivedStatsSample
impl Send for ReceivedStatsSample
impl Sync for ReceivedStatsSample
impl Unpin for ReceivedStatsSample
impl UnsafeUnpin for ReceivedStatsSample
impl UnwindSafe for ReceivedStatsSample
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