pub struct DashboardSession {
pub token: String,
pub expires_at: i64,
}Expand description
A minted session: its compact string form plus the parsed expiry, so a mint
surface can return { session, expires_at } without re-parsing.
Fields§
§token: String§expires_at: i64Trait Implementations§
Source§impl Clone for DashboardSession
impl Clone for DashboardSession
Source§impl Debug for DashboardSession
impl Debug for DashboardSession
impl Eq for DashboardSession
Source§impl PartialEq for DashboardSession
impl PartialEq for DashboardSession
impl StructuralPartialEq for DashboardSession
Auto Trait Implementations§
impl Freeze for DashboardSession
impl RefUnwindSafe for DashboardSession
impl Send for DashboardSession
impl Sync for DashboardSession
impl Unpin for DashboardSession
impl UnsafeUnpin for DashboardSession
impl UnwindSafe for DashboardSession
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.