pub struct CompactCache {
pub user: UserView,
pub session: SessionView,
pub updated_at: f64,
pub version: Option<String>,
pub expires_at: f64,
}Expand description
Verified compact cache data. The separately signed session token and both expiries must still be checked before treating this as a session.
Fields§
§user: UserView§session: SessionView§updated_at: f64§version: Option<String>§expires_at: f64Trait Implementations§
Source§impl Clone for CompactCache
impl Clone for CompactCache
Auto Trait Implementations§
impl Freeze for CompactCache
impl RefUnwindSafe for CompactCache
impl Send for CompactCache
impl Sync for CompactCache
impl Unpin for CompactCache
impl UnsafeUnpin for CompactCache
impl UnwindSafe for CompactCache
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