pub struct AnalyticsSession {Show 27 fields
pub session_id: SessionId,
pub user_id: Option<UserId>,
pub fingerprint_hash: Option<String>,
pub ip_address: Option<String>,
pub user_agent: Option<String>,
pub device_type: Option<String>,
pub browser: Option<String>,
pub os: Option<String>,
pub country: Option<String>,
pub city: Option<String>,
pub referrer_url: Option<String>,
pub utm_source: Option<String>,
pub utm_medium: Option<String>,
pub utm_campaign: Option<String>,
pub utm_content: Option<String>,
pub utm_term: Option<String>,
pub is_bot: bool,
pub is_scanner: Option<bool>,
pub is_behavioral_bot: Option<bool>,
pub behavioral_bot_reason: Option<String>,
pub started_at: Option<DateTime<Utc>>,
pub last_activity_at: Option<DateTime<Utc>>,
pub ended_at: Option<DateTime<Utc>>,
pub request_count: Option<i32>,
pub task_count: Option<i32>,
pub ai_request_count: Option<i32>,
pub message_count: Option<i32>,
}Fields§
§session_id: SessionId§user_id: Option<UserId>§fingerprint_hash: Option<String>§ip_address: Option<String>§user_agent: Option<String>§device_type: Option<String>§browser: Option<String>§os: Option<String>§country: Option<String>§city: Option<String>§referrer_url: Option<String>§utm_source: Option<String>§utm_medium: Option<String>§utm_campaign: Option<String>§utm_content: Option<String>§utm_term: Option<String>§is_bot: bool§is_scanner: Option<bool>§is_behavioral_bot: Option<bool>§behavioral_bot_reason: Option<String>§started_at: Option<DateTime<Utc>>§last_activity_at: Option<DateTime<Utc>>§ended_at: Option<DateTime<Utc>>§request_count: Option<i32>§task_count: Option<i32>§ai_request_count: Option<i32>§message_count: Option<i32>Trait Implementations§
Source§impl Clone for SessionSnapshot
impl Clone for SessionSnapshot
Source§fn clone(&self) -> SessionSnapshot
fn clone(&self) -> SessionSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SessionSnapshot
impl Debug for SessionSnapshot
Source§impl<'de> Deserialize<'de> for SessionSnapshot
impl<'de> Deserialize<'de> for SessionSnapshot
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SessionSnapshot, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SessionSnapshot, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for SessionSnapshot
impl Serialize for SessionSnapshot
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for SessionSnapshot
impl RefUnwindSafe for SessionSnapshot
impl Send for SessionSnapshot
impl Sync for SessionSnapshot
impl Unpin for SessionSnapshot
impl UnsafeUnpin for SessionSnapshot
impl UnwindSafe for SessionSnapshot
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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