#[non_exhaustive]pub struct LegacyDeviceSessionLogInfo {
pub ip_address: Option<IpAddress>,
pub created: Option<DropboxTimestamp>,
pub updated: Option<DropboxTimestamp>,
pub session_info: Option<SessionLogInfo>,
pub display_name: Option<String>,
pub is_emm_managed: Option<bool>,
pub platform: Option<String>,
pub mac_address: Option<IpAddress>,
pub os_version: Option<String>,
pub device_type: Option<String>,
pub client_version: Option<String>,
pub legacy_uniq_id: Option<String>,
}dbx_team_log only.Expand description
Information on sessions, in legacy format
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.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<SessionLogInfo>Session unique id.
display_name: Option<String>The device name. Might be missing due to historical data gap.
is_emm_managed: Option<bool>Is device managed by emm. Might be missing due to historical data gap.
platform: Option<String>Information on the hosting platform. Might be missing due to historical data gap.
mac_address: Option<IpAddress>The mac address of the last activity from this session. Might be missing due to historical data gap.
os_version: Option<String>The hosting OS version. Might be missing due to historical data gap.
device_type: Option<String>Information on the hosting device type. Might be missing due to historical data gap.
client_version: Option<String>The Dropbox client version. Might be missing due to historical data gap.
legacy_uniq_id: Option<String>Alternative unique device session id, instead of session id field. Might be missing due to historical data gap.
Implementations§
Source§impl LegacyDeviceSessionLogInfo
impl LegacyDeviceSessionLogInfo
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: SessionLogInfo) -> Self
pub fn with_display_name(self, value: String) -> Self
pub fn with_is_emm_managed(self, value: bool) -> Self
pub fn with_platform(self, value: String) -> Self
pub fn with_mac_address(self, value: IpAddress) -> Self
pub fn with_os_version(self, value: String) -> Self
pub fn with_device_type(self, value: String) -> Self
pub fn with_client_version(self, value: String) -> Self
pub fn with_legacy_uniq_id(self, value: String) -> Self
Trait Implementations§
Source§impl Clone for LegacyDeviceSessionLogInfo
impl Clone for LegacyDeviceSessionLogInfo
Source§fn clone(&self) -> LegacyDeviceSessionLogInfo
fn clone(&self) -> LegacyDeviceSessionLogInfo
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for LegacyDeviceSessionLogInfo
impl Debug for LegacyDeviceSessionLogInfo
Source§impl Default for LegacyDeviceSessionLogInfo
impl Default for LegacyDeviceSessionLogInfo
Source§fn default() -> LegacyDeviceSessionLogInfo
fn default() -> LegacyDeviceSessionLogInfo
Source§impl<'de> Deserialize<'de> for LegacyDeviceSessionLogInfo
impl<'de> Deserialize<'de> for LegacyDeviceSessionLogInfo
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Source§impl From<LegacyDeviceSessionLogInfo> for DeviceSessionLogInfo
impl From<LegacyDeviceSessionLogInfo> for DeviceSessionLogInfo
Source§fn from(subtype: LegacyDeviceSessionLogInfo) -> Self
fn from(subtype: LegacyDeviceSessionLogInfo) -> Self
impl Eq for LegacyDeviceSessionLogInfo
impl StructuralPartialEq for LegacyDeviceSessionLogInfo
Auto Trait Implementations§
impl Freeze for LegacyDeviceSessionLogInfo
impl RefUnwindSafe for LegacyDeviceSessionLogInfo
impl Send for LegacyDeviceSessionLogInfo
impl Sync for LegacyDeviceSessionLogInfo
impl Unpin for LegacyDeviceSessionLogInfo
impl UnwindSafe for LegacyDeviceSessionLogInfo
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
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
key and return true if they are equal.