pub struct ClientActiveSession {
pub id: String,
pub object: Object,
pub status: Status,
pub expire_at: i64,
pub abandon_at: i64,
pub last_active_at: i64,
pub last_active_token: Option<Option<Box<Token>>>,
pub actor: Option<Option<HashMap<String, Value>>>,
pub tasks: Option<Option<Vec<ClientSessionTask>>>,
pub latest_activity: Option<Box<ClientSessionActivity>>,
}Fields§
§id: String§object: ObjectString representing the object’s type. Objects of the same type share the same value.
status: Status§expire_at: i64§abandon_at: i64§last_active_at: i64§last_active_token: Option<Option<Box<Token>>>§actor: Option<Option<HashMap<String, Value>>>§tasks: Option<Option<Vec<ClientSessionTask>>>§latest_activity: Option<Box<ClientSessionActivity>>Implementations§
Trait Implementations§
Source§impl Clone for ClientActiveSession
impl Clone for ClientActiveSession
Source§fn clone(&self) -> ClientActiveSession
fn clone(&self) -> ClientActiveSession
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 ClientActiveSession
impl Debug for ClientActiveSession
Source§impl Default for ClientActiveSession
impl Default for ClientActiveSession
Source§fn default() -> ClientActiveSession
fn default() -> ClientActiveSession
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClientActiveSession
impl<'de> Deserialize<'de> for ClientActiveSession
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
Source§impl PartialEq for ClientActiveSession
impl PartialEq for ClientActiveSession
Source§impl Serialize for ClientActiveSession
impl Serialize for ClientActiveSession
impl StructuralPartialEq for ClientActiveSession
Auto Trait Implementations§
impl Freeze for ClientActiveSession
impl RefUnwindSafe for ClientActiveSession
impl Send for ClientActiveSession
impl Sync for ClientActiveSession
impl Unpin for ClientActiveSession
impl UnwindSafe for ClientActiveSession
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