pub struct ResolvedSession {
pub object_id: String,
pub user_object_id: String,
pub session_token: String,
pub installation_id: Option<String>,
pub expires_at: Option<ParseDate>,
pub row: Row,
}Expand description
A session resolved from a token.
Fields§
§object_id: String§user_object_id: String§session_token: String§installation_id: Option<String>§expires_at: Option<ParseDate>None for a session that never expires.
row: RowThe row as stored, in Parse form. GET /sessions/me returns it; nothing else should need
it, and it carries no secret beyond the token the caller already presented.
Trait Implementations§
Source§impl Clone for ResolvedSession
impl Clone for ResolvedSession
Source§fn clone(&self) -> ResolvedSession
fn clone(&self) -> ResolvedSession
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 ResolvedSession
impl RefUnwindSafe for ResolvedSession
impl Send for ResolvedSession
impl Sync for ResolvedSession
impl Unpin for ResolvedSession
impl UnsafeUnpin for ResolvedSession
impl UnwindSafe for ResolvedSession
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