pub struct CookieCacheOptions {
pub enabled: bool,
pub max_age: Option<u64>,
pub strategy: CookieCacheStrategy,
pub refresh_cache: bool,
pub version: Option<String>,
}Expand description
Session cookie cache configuration.
Fields§
§enabled: bool§max_age: Option<u64>§strategy: CookieCacheStrategy§refresh_cache: bool§version: Option<String>Trait Implementations§
Source§impl Clone for CookieCacheOptions
impl Clone for CookieCacheOptions
Source§fn clone(&self) -> CookieCacheOptions
fn clone(&self) -> CookieCacheOptions
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 Debug for CookieCacheOptions
impl Debug for CookieCacheOptions
Source§impl Default for CookieCacheOptions
impl Default for CookieCacheOptions
Source§impl PartialEq for CookieCacheOptions
impl PartialEq for CookieCacheOptions
Source§fn eq(&self, other: &CookieCacheOptions) -> bool
fn eq(&self, other: &CookieCacheOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CookieCacheOptions
impl StructuralPartialEq for CookieCacheOptions
Auto Trait Implementations§
impl Freeze for CookieCacheOptions
impl RefUnwindSafe for CookieCacheOptions
impl Send for CookieCacheOptions
impl Sync for CookieCacheOptions
impl Unpin for CookieCacheOptions
impl UnsafeUnpin for CookieCacheOptions
impl UnwindSafe for CookieCacheOptions
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.