Struct seella::EventRecord
source · pub struct EventRecord {
pub session_id: Uuid,
pub event_id: Uuid,
pub activity: String,
pub source: IpAddr,
pub source_elapsed: i32,
pub thread: String,
pub scylla_parent_id: Option<SpanId>,
pub scylla_span_id: Option<SpanId>,
}
Expand description
The basic structure and data of a Event, before it is made into the leaves of a tree.
Fields§
§session_id: Uuid
§event_id: Uuid
§activity: String
§source: IpAddr
§source_elapsed: i32
§thread: String
§scylla_parent_id: Option<SpanId>
§scylla_span_id: Option<SpanId>
Trait Implementations§
source§impl Debug for EventRecord
impl Debug for EventRecord
source§impl<'de> Deserialize<'de> for EventRecord
impl<'de> Deserialize<'de> for EventRecord
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 From<EventRecord> for Event
impl From<EventRecord> for Event
source§fn from(value: EventRecord) -> Self
fn from(value: EventRecord) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for EventRecord
impl Send for EventRecord
impl Sync for EventRecord
impl Unpin for EventRecord
impl UnwindSafe for EventRecord
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