pub struct ClientSessionBase {
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>>>,
}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>>>Implementations§
Trait Implementations§
Source§impl Clone for ClientSessionBase
impl Clone for ClientSessionBase
Source§fn clone(&self) -> ClientSessionBase
fn clone(&self) -> ClientSessionBase
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 ClientSessionBase
impl Debug for ClientSessionBase
Source§impl Default for ClientSessionBase
impl Default for ClientSessionBase
Source§fn default() -> ClientSessionBase
fn default() -> ClientSessionBase
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClientSessionBase
impl<'de> Deserialize<'de> for ClientSessionBase
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 ClientSessionBase
impl PartialEq for ClientSessionBase
Source§impl Serialize for ClientSessionBase
impl Serialize for ClientSessionBase
impl StructuralPartialEq for ClientSessionBase
Auto Trait Implementations§
impl Freeze for ClientSessionBase
impl RefUnwindSafe for ClientSessionBase
impl Send for ClientSessionBase
impl Sync for ClientSessionBase
impl Unpin for ClientSessionBase
impl UnwindSafe for ClientSessionBase
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