pub struct TrafficRecord {
pub user_id: String,
pub bytes_up: u64,
pub bytes_down: u64,
}Expand description
Per-user traffic delta record.
Fields§
§user_id: String§bytes_up: u64§bytes_down: u64Trait Implementations§
Source§impl Clone for TrafficRecord
impl Clone for TrafficRecord
Source§fn clone(&self) -> TrafficRecord
fn clone(&self) -> TrafficRecord
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 TrafficRecord
impl Debug for TrafficRecord
Source§impl<'de> Deserialize<'de> for TrafficRecord
impl<'de> Deserialize<'de> for TrafficRecord
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 TrafficRecord
impl RefUnwindSafe for TrafficRecord
impl Send for TrafficRecord
impl Sync for TrafficRecord
impl Unpin for TrafficRecord
impl UnsafeUnpin for TrafficRecord
impl UnwindSafe for TrafficRecord
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