pub struct EngagementOptionalMetrics {Show 14 fields
pub time_to_first_interaction_ms: Option<i32>,
pub time_to_first_scroll_ms: Option<i32>,
pub scroll_velocity_avg: Option<f32>,
pub scroll_direction_changes: Option<i32>,
pub mouse_move_distance_px: Option<i32>,
pub keyboard_events: Option<i32>,
pub copy_events: Option<i32>,
pub focus_time_ms: Option<i32>,
pub blur_count: Option<i32>,
pub visible_time_ms: Option<i32>,
pub hidden_time_ms: Option<i32>,
pub is_rage_click: Option<bool>,
pub is_dead_click: Option<bool>,
pub reading_pattern: Option<String>,
}Fields§
§time_to_first_interaction_ms: Option<i32>§time_to_first_scroll_ms: Option<i32>§scroll_velocity_avg: Option<f32>§scroll_direction_changes: Option<i32>§mouse_move_distance_px: Option<i32>§keyboard_events: Option<i32>§copy_events: Option<i32>§focus_time_ms: Option<i32>§blur_count: Option<i32>§visible_time_ms: Option<i32>§is_rage_click: Option<bool>§is_dead_click: Option<bool>§reading_pattern: Option<String>Trait Implementations§
Source§impl Clone for EngagementOptionalMetrics
impl Clone for EngagementOptionalMetrics
Source§fn clone(&self) -> EngagementOptionalMetrics
fn clone(&self) -> EngagementOptionalMetrics
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 EngagementOptionalMetrics
impl Debug for EngagementOptionalMetrics
Source§impl Default for EngagementOptionalMetrics
impl Default for EngagementOptionalMetrics
Source§fn default() -> EngagementOptionalMetrics
fn default() -> EngagementOptionalMetrics
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EngagementOptionalMetrics
impl<'de> Deserialize<'de> for EngagementOptionalMetrics
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 EngagementOptionalMetrics
impl RefUnwindSafe for EngagementOptionalMetrics
impl Send for EngagementOptionalMetrics
impl Sync for EngagementOptionalMetrics
impl Unpin for EngagementOptionalMetrics
impl UnwindSafe for EngagementOptionalMetrics
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