Struct dropbox_sdk::team::ActiveWebSession [−][src]
#[non_exhaustive]pub struct ActiveWebSession { pub session_id: String, pub user_agent: String, pub os: String, pub browser: String, pub ip_address: Option<String>, pub country: Option<String>, pub created: Option<DropboxTimestamp>, pub updated: Option<DropboxTimestamp>, pub expires: Option<DropboxTimestamp>, }
This is supported on crate feature
dbx_team only.Expand description
Information on active web sessions.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.session_id: StringThe session id.
user_agent: StringInformation on the hosting device.
os: StringInformation on the hosting operating system.
browser: StringInformation on the browser used for this web session.
ip_address: Option<String>The IP address of the last activity from this session.
country: Option<String>The country from which the last activity from this session was made.
created: Option<DropboxTimestamp>The time this session was created.
updated: Option<DropboxTimestamp>The time of the last activity from this session.
expires: Option<DropboxTimestamp>The time this session expires.
Implementations
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for ActiveWebSessionimpl Send for ActiveWebSessionimpl Sync for ActiveWebSessionimpl Unpin for ActiveWebSessionimpl UnwindSafe for ActiveWebSessionBlanket Implementations
Mutably borrows from an owned value. Read more