pub struct EngagementEvent {Show 25 fields
pub id: EngagementEventId,
pub session_id: SessionId,
pub user_id: UserId,
pub page_url: String,
pub content_id: Option<ContentId>,
pub time_on_page_ms: i32,
pub time_to_first_interaction_ms: Option<i32>,
pub time_to_first_scroll_ms: Option<i32>,
pub max_scroll_depth: i32,
pub scroll_velocity_avg: Option<f32>,
pub scroll_direction_changes: Option<i32>,
pub click_count: i32,
pub mouse_move_distance_px: Option<i32>,
pub keyboard_events: Option<i32>,
pub copy_events: Option<i32>,
pub focus_time_ms: i32,
pub blur_count: i32,
pub tab_switches: i32,
pub visible_time_ms: i32,
pub hidden_time_ms: i32,
pub is_rage_click: Option<bool>,
pub is_dead_click: Option<bool>,
pub reading_pattern: Option<String>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Fields§
§id: EngagementEventId§session_id: SessionId§user_id: UserId§page_url: String§content_id: Option<ContentId>§time_on_page_ms: i32§time_to_first_interaction_ms: Option<i32>§time_to_first_scroll_ms: Option<i32>§max_scroll_depth: i32§scroll_velocity_avg: Option<f32>§scroll_direction_changes: Option<i32>§click_count: i32§mouse_move_distance_px: Option<i32>§keyboard_events: Option<i32>§copy_events: Option<i32>§focus_time_ms: i32§blur_count: i32§tab_switches: i32§visible_time_ms: i32§is_rage_click: Option<bool>§is_dead_click: Option<bool>§reading_pattern: Option<String>§created_at: DateTime<Utc>§updated_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for EngagementEvent
impl Clone for EngagementEvent
Source§fn clone(&self) -> EngagementEvent
fn clone(&self) -> EngagementEvent
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 EngagementEvent
impl Debug for EngagementEvent
Source§impl<'de> Deserialize<'de> for EngagementEvent
impl<'de> Deserialize<'de> for EngagementEvent
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<'a, R: Row> FromRow<'a, R> for EngagementEventwhere
&'a str: ColumnIndex<R>,
EngagementEventId: Decode<'a, R::Database> + Type<R::Database>,
SessionId: Decode<'a, R::Database> + Type<R::Database>,
UserId: Decode<'a, R::Database> + Type<R::Database>,
String: Decode<'a, R::Database> + Type<R::Database>,
Option<ContentId>: Decode<'a, R::Database> + Type<R::Database>,
i32: Decode<'a, R::Database> + Type<R::Database>,
Option<i32>: Decode<'a, R::Database> + Type<R::Database>,
Option<f32>: Decode<'a, R::Database> + Type<R::Database>,
Option<bool>: Decode<'a, R::Database> + Type<R::Database>,
Option<String>: Decode<'a, R::Database> + Type<R::Database>,
DateTime<Utc>: Decode<'a, R::Database> + Type<R::Database>,
impl<'a, R: Row> FromRow<'a, R> for EngagementEventwhere
&'a str: ColumnIndex<R>,
EngagementEventId: Decode<'a, R::Database> + Type<R::Database>,
SessionId: Decode<'a, R::Database> + Type<R::Database>,
UserId: Decode<'a, R::Database> + Type<R::Database>,
String: Decode<'a, R::Database> + Type<R::Database>,
Option<ContentId>: Decode<'a, R::Database> + Type<R::Database>,
i32: Decode<'a, R::Database> + Type<R::Database>,
Option<i32>: Decode<'a, R::Database> + Type<R::Database>,
Option<f32>: Decode<'a, R::Database> + Type<R::Database>,
Option<bool>: Decode<'a, R::Database> + Type<R::Database>,
Option<String>: Decode<'a, R::Database> + Type<R::Database>,
DateTime<Utc>: Decode<'a, R::Database> + Type<R::Database>,
Auto Trait Implementations§
impl Freeze for EngagementEvent
impl RefUnwindSafe for EngagementEvent
impl Send for EngagementEvent
impl Sync for EngagementEvent
impl Unpin for EngagementEvent
impl UnsafeUnpin for EngagementEvent
impl UnwindSafe for EngagementEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more