pub struct TrafficEvent {
pub id: Uuid,
pub request_id: RequestId,
pub timestamp: DateTime<Utc>,
pub direction: EventDirection,
pub kind: TrafficEventKind,
}Expand description
A captured traffic event.
Fields§
§id: Uuid§request_id: RequestId§timestamp: DateTime<Utc>§direction: EventDirection§kind: TrafficEventKindTrait Implementations§
Source§impl Clone for TrafficEvent
impl Clone for TrafficEvent
Source§fn clone(&self) -> TrafficEvent
fn clone(&self) -> TrafficEvent
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 TrafficEvent
impl Debug for TrafficEvent
Source§impl<'de> Deserialize<'de> for TrafficEvent
impl<'de> Deserialize<'de> for TrafficEvent
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 TrafficEvent
impl RefUnwindSafe for TrafficEvent
impl Send for TrafficEvent
impl Sync for TrafficEvent
impl Unpin for TrafficEvent
impl UnsafeUnpin for TrafficEvent
impl UnwindSafe for TrafficEvent
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