#[non_exhaustive]pub struct MobileDeviceSessionLogInfo {
pub device_name: String,
pub client_type: MobileClientPlatform,
pub ip_address: Option<IpAddress>,
pub created: Option<DropboxTimestamp>,
pub updated: Option<DropboxTimestamp>,
pub session_info: Option<MobileSessionLogInfo>,
pub client_version: Option<String>,
pub os_version: Option<String>,
pub last_carrier: Option<String>,
}Available on crate feature
dbx_team_log only.Expand description
Information about linked Dropbox mobile client 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.device_name: StringThe device name.
client_type: MobileClientPlatformThe mobile application type.
ip_address: Option<IpAddress>The IP address of the last activity from this session.
created: Option<DropboxTimestamp>The time this session was created.
updated: Option<DropboxTimestamp>The time of the last activity from this session.
session_info: Option<MobileSessionLogInfo>Mobile session unique id.
client_version: Option<String>The Dropbox client version.
os_version: Option<String>The hosting OS version.
last_carrier: Option<String>last carrier used by the device.
Implementations§
Source§impl MobileDeviceSessionLogInfo
impl MobileDeviceSessionLogInfo
pub fn new(device_name: String, client_type: MobileClientPlatform) -> Self
pub fn with_ip_address(self, value: IpAddress) -> Self
pub fn with_created(self, value: DropboxTimestamp) -> Self
pub fn with_updated(self, value: DropboxTimestamp) -> Self
pub fn with_session_info(self, value: MobileSessionLogInfo) -> Self
pub fn with_client_version(self, value: String) -> Self
pub fn with_os_version(self, value: String) -> Self
pub fn with_last_carrier(self, value: String) -> Self
Trait Implementations§
Source§impl Clone for MobileDeviceSessionLogInfo
impl Clone for MobileDeviceSessionLogInfo
Source§fn clone(&self) -> MobileDeviceSessionLogInfo
fn clone(&self) -> MobileDeviceSessionLogInfo
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 MobileDeviceSessionLogInfo
impl Debug for MobileDeviceSessionLogInfo
Source§impl<'de> Deserialize<'de> for MobileDeviceSessionLogInfo
impl<'de> Deserialize<'de> for MobileDeviceSessionLogInfo
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<MobileDeviceSessionLogInfo> for DeviceSessionLogInfo
impl From<MobileDeviceSessionLogInfo> for DeviceSessionLogInfo
Source§fn from(subtype: MobileDeviceSessionLogInfo) -> Self
fn from(subtype: MobileDeviceSessionLogInfo) -> Self
Converts to this type from the input type.
impl Eq for MobileDeviceSessionLogInfo
impl StructuralPartialEq for MobileDeviceSessionLogInfo
Auto Trait Implementations§
impl Freeze for MobileDeviceSessionLogInfo
impl RefUnwindSafe for MobileDeviceSessionLogInfo
impl Send for MobileDeviceSessionLogInfo
impl Sync for MobileDeviceSessionLogInfo
impl Unpin for MobileDeviceSessionLogInfo
impl UnwindSafe for MobileDeviceSessionLogInfo
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.