pub struct Session {
pub object: Object,
pub id: String,
pub user_id: String,
pub client_id: String,
pub actor: Option<Option<Value>>,
pub status: Status,
pub last_active_organization_id: Option<Option<String>>,
pub last_active_at: i64,
pub expire_at: i64,
pub abandon_at: i64,
pub updated_at: i64,
pub created_at: i64,
}Fields§
§object: ObjectString representing the object’s type. Objects of the same type share the same value.
id: String§user_id: String§client_id: String§actor: Option<Option<Value>>§status: Status§last_active_organization_id: Option<Option<String>>§last_active_at: i64§expire_at: i64§abandon_at: i64§updated_at: i64Unix timestamp of last update.
created_at: i64Unix timestamp of creation.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Session
impl<'de> Deserialize<'de> for Session
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
impl StructuralPartialEq for Session
Auto Trait Implementations§
impl Freeze for Session
impl RefUnwindSafe for Session
impl Send for Session
impl Sync for Session
impl Unpin for Session
impl UnwindSafe for Session
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