pub struct Client {
pub object: Object,
pub id: String,
pub session_ids: Vec<String>,
pub sessions: Vec<Session>,
pub sign_in_id: Option<String>,
pub sign_up_id: Option<String>,
pub last_active_session_id: Option<String>,
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: StringString representing the identifier of the session.
session_ids: Vec<String>§sessions: Vec<Session>§sign_in_id: Option<String>§sign_up_id: Option<String>§last_active_session_id: Option<String>Last active session_id.
updated_at: i64Unix timestamp of last update.
created_at: i64Unix timestamp of creation.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Client
impl<'de> Deserialize<'de> for Client
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 Client
Auto Trait Implementations§
impl Freeze for Client
impl RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl UnwindSafe for Client
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