pub struct AnalyticsEventRecord {
pub id: Uuid,
pub session_id: SessionId,
pub timestamp: DateTime<Utc>,
pub sequence: u64,
pub event: AnalyticsEvent,
}Expand description
Analytics event with metadata
Fields§
§id: UuidUnique event ID
session_id: SessionIdSession ID
timestamp: DateTime<Utc>Timestamp
sequence: u64Sequence number
event: AnalyticsEventThe event
Trait Implementations§
Source§impl Clone for AnalyticsEventRecord
impl Clone for AnalyticsEventRecord
Source§fn clone(&self) -> AnalyticsEventRecord
fn clone(&self) -> AnalyticsEventRecord
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 AnalyticsEventRecord
impl Debug for AnalyticsEventRecord
Source§impl<'de> Deserialize<'de> for AnalyticsEventRecord
impl<'de> Deserialize<'de> for AnalyticsEventRecord
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 AnalyticsEventRecord
impl RefUnwindSafe for AnalyticsEventRecord
impl Send for AnalyticsEventRecord
impl Sync for AnalyticsEventRecord
impl Unpin for AnalyticsEventRecord
impl UnsafeUnpin for AnalyticsEventRecord
impl UnwindSafe for AnalyticsEventRecord
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