pub struct ClientSession {Show 23 fields
pub id: i64,
pub account: Ref,
pub region: Ref,
pub region_cluster: Option<Ref>,
pub volume: VolumeRef,
pub user: Option<Ref>,
pub client_type: String,
pub os_name: String,
pub os_version: Option<String>,
pub app_version: Option<String>,
pub hostname: Option<String>,
pub ip_addr: String,
pub mount_mode: Option<String>,
pub mount_path: Option<String>,
pub fork_name: Option<String>,
pub is_temporary_fork: bool,
pub metadata: Option<Value>,
pub metrics: Option<Value>,
pub status: ClientSessionStatus,
pub last_heartbeat: Option<i64>,
pub connected_at: Option<i64>,
pub disconnected_at: Option<i64>,
pub is_active: bool,
}Fields§
§id: i64§account: Ref§region: Ref§region_cluster: Option<Ref>§volume: VolumeRef§user: Option<Ref>§client_type: String§os_name: String§os_version: Option<String>§app_version: Option<String>§hostname: Option<String>§ip_addr: String§mount_mode: Option<String>§mount_path: Option<String>§fork_name: Option<String>§is_temporary_fork: bool§metadata: Option<Value>§metrics: Option<Value>§status: ClientSessionStatus§last_heartbeat: Option<i64>§connected_at: Option<i64>§disconnected_at: Option<i64>§is_active: boolTrait Implementations§
Source§impl Clone for ClientSession
impl Clone for ClientSession
Source§fn clone(&self) -> ClientSession
fn clone(&self) -> ClientSession
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ClientSession
impl Debug for ClientSession
Source§impl<'de> Deserialize<'de> for ClientSession
impl<'de> Deserialize<'de> for ClientSession
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 ClientSession
impl RefUnwindSafe for ClientSession
impl Send for ClientSession
impl Sync for ClientSession
impl Unpin for ClientSession
impl UnsafeUnpin for ClientSession
impl UnwindSafe for ClientSession
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