pub struct CookieCachePayload<S, U> {
pub session: S,
pub user: U,
pub updated_at: i64,
pub version: String,
}Fields§
§session: S§user: U§updated_at: i64§version: StringTrait Implementations§
Source§impl<S, U> Clone for CookieCachePayload<S, U>
impl<S, U> Clone for CookieCachePayload<S, U>
Source§fn clone(&self) -> CookieCachePayload<S, U>
fn clone(&self) -> CookieCachePayload<S, U>
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 moreSource§impl<S, U> Debug for CookieCachePayload<S, U>
impl<S, U> Debug for CookieCachePayload<S, U>
Source§impl<'de, S, U> Deserialize<'de> for CookieCachePayload<S, U>where
S: Deserialize<'de>,
U: Deserialize<'de>,
impl<'de, S, U> Deserialize<'de> for CookieCachePayload<S, U>where
S: Deserialize<'de>,
U: Deserialize<'de>,
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CookieCachePayload<S, U>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CookieCachePayload<S, U>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl<S, U> Eq for CookieCachePayload<S, U>
Source§impl<S, U> PartialEq for CookieCachePayload<S, U>
impl<S, U> PartialEq for CookieCachePayload<S, U>
Source§impl<S, U> Serialize for CookieCachePayload<S, U>
impl<S, U> Serialize for CookieCachePayload<S, U>
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<S, U> StructuralPartialEq for CookieCachePayload<S, U>
Auto Trait Implementations§
impl<S, U> Freeze for CookieCachePayload<S, U>
impl<S, U> RefUnwindSafe for CookieCachePayload<S, U>where
S: RefUnwindSafe,
U: RefUnwindSafe,
impl<S, U> Send for CookieCachePayload<S, U>
impl<S, U> Sync for CookieCachePayload<S, U>
impl<S, U> Unpin for CookieCachePayload<S, U>
impl<S, U> UnsafeUnpin for CookieCachePayload<S, U>where
S: UnsafeUnpin,
U: UnsafeUnpin,
impl<S, U> UnwindSafe for CookieCachePayload<S, U>where
S: UnwindSafe,
U: UnwindSafe,
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.