pub struct CreatedSession {
pub session_token: String,
pub object_id: String,
pub expires_at: Option<ParseDate>,
pub created_at: ParseDate,
}Expand description
A freshly minted session.
Fields§
§session_token: String§object_id: String§expires_at: Option<ParseDate>None when expireInactiveSessions is false.
created_at: ParseDateTrait Implementations§
Source§impl Clone for CreatedSession
impl Clone for CreatedSession
Source§fn clone(&self) -> CreatedSession
fn clone(&self) -> CreatedSession
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 moreAuto Trait Implementations§
impl Freeze for CreatedSession
impl RefUnwindSafe for CreatedSession
impl Send for CreatedSession
impl Sync for CreatedSession
impl Unpin for CreatedSession
impl UnsafeUnpin for CreatedSession
impl UnwindSafe for CreatedSession
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