pub struct AuthenticationSessionResponse {Show 19 fields
pub created_at: Option<DateTime<Utc>>,
pub id: Option<String>,
pub type: Option<AuthenticationSessionType>,
pub ip: Option<String>,
pub location_country: Option<String>,
pub location_country_code: Option<String>,
pub country_codes: Option<Vec<String>>,
pub location_region_code: Option<String>,
pub location_city: Option<String>,
pub user_agent: Option<String>,
pub browser_type: Option<String>,
pub service: Option<String>,
pub last_active_at: Option<DateTime<Utc>>,
pub updated_at: Option<DateTime<Utc>>,
pub location: Option<String>,
pub operating_system: Option<String>,
pub client: Option<String>,
pub name: Option<String>,
pub is_current_session: Option<bool>,
}Expand description
Authentication session information.
Fields§
§created_at: Option<DateTime<Utc>>The time at which the entity was created.
id: Option<String>§type: Option<AuthenticationSessionType>Type of application used to authenticate.
ip: Option<String>IP address.
location_country: Option<String>Location country name.
location_country_code: Option<String>Location country code.
country_codes: Option<Vec<String>>Country codes of all seen locations.
location_region_code: Option<String>Location region code.
location_city: Option<String>Location city name.
user_agent: Option<String>Session’s user-agent.
browser_type: Option<String>Used web browser.
service: Option<String>Service used for logging in.
last_active_at: Option<DateTime<Utc>>When was the session last seen
updated_at: Option<DateTime<Utc>>Date when the session was last updated.
location: Option<String>Human readable location
operating_system: Option<String>Operating system used for the session
client: Option<String>Client used for the session
name: Option<String>Name of the session, derived from the client and operating system
is_current_session: Option<bool>Identifies the session used to make the request.
Trait Implementations§
Source§impl Clone for AuthenticationSessionResponse
impl Clone for AuthenticationSessionResponse
Source§fn clone(&self) -> AuthenticationSessionResponse
fn clone(&self) -> AuthenticationSessionResponse
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 Default for AuthenticationSessionResponse
impl Default for AuthenticationSessionResponse
Source§fn default() -> AuthenticationSessionResponse
fn default() -> AuthenticationSessionResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthenticationSessionResponsewhere
AuthenticationSessionResponse: Default,
impl<'de> Deserialize<'de> for AuthenticationSessionResponsewhere
AuthenticationSessionResponse: Default,
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 AuthenticationSessionResponse
impl RefUnwindSafe for AuthenticationSessionResponse
impl Send for AuthenticationSessionResponse
impl Sync for AuthenticationSessionResponse
impl Unpin for AuthenticationSessionResponse
impl UnwindSafe for AuthenticationSessionResponse
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