pub struct CreateSessionParams<'a> {Show 22 fields
pub session_id: &'a SessionId,
pub user_id: Option<&'a UserId>,
pub session_source: SessionSource,
pub fingerprint_hash: Option<&'a str>,
pub ip_address: Option<&'a str>,
pub user_agent: Option<&'a str>,
pub device_type: Option<&'a str>,
pub browser: Option<&'a str>,
pub os: Option<&'a str>,
pub country: Option<&'a str>,
pub region: Option<&'a str>,
pub city: Option<&'a str>,
pub preferred_locale: Option<&'a str>,
pub referrer_source: Option<&'a str>,
pub referrer_url: Option<&'a str>,
pub landing_page: Option<&'a str>,
pub entry_url: Option<&'a str>,
pub utm_source: Option<&'a str>,
pub utm_medium: Option<&'a str>,
pub utm_campaign: Option<&'a str>,
pub is_bot: bool,
pub expires_at: DateTime<Utc>,
}Fields§
§session_id: &'a SessionId§user_id: Option<&'a UserId>§session_source: SessionSource§fingerprint_hash: Option<&'a str>§ip_address: Option<&'a str>§user_agent: Option<&'a str>§device_type: Option<&'a str>§browser: Option<&'a str>§os: Option<&'a str>§country: Option<&'a str>§region: Option<&'a str>§city: Option<&'a str>§preferred_locale: Option<&'a str>§referrer_source: Option<&'a str>§referrer_url: Option<&'a str>§landing_page: Option<&'a str>§entry_url: Option<&'a str>§utm_source: Option<&'a str>§utm_medium: Option<&'a str>§utm_campaign: Option<&'a str>§is_bot: bool§expires_at: DateTime<Utc>Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for CreateSessionParams<'a>
impl<'a> RefUnwindSafe for CreateSessionParams<'a>
impl<'a> Send for CreateSessionParams<'a>
impl<'a> Sync for CreateSessionParams<'a>
impl<'a> Unpin for CreateSessionParams<'a>
impl<'a> UnwindSafe for CreateSessionParams<'a>
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> 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