pub struct RequestIssuer { /* private fields */ }Expand description
Identify user by Request Uri.
Implementations§
Source§impl RequestIssuer
impl RequestIssuer
Sourcepub fn use_scheme(self, value: bool) -> Self
pub fn use_scheme(self, value: bool) -> Self
Whether to use request’s uri scheme when generate the key.
Whether to use request’s uri authority when generate the key.
Sourcepub fn use_path(self, value: bool) -> Self
pub fn use_path(self, value: bool) -> Self
Whether to use request’s uri path when generate the key.
Sourcepub fn use_query(self, value: bool) -> Self
pub fn use_query(self, value: bool) -> Self
Whether to use request’s uri query when generate the key.
Sourcepub fn use_method(self, value: bool) -> Self
pub fn use_method(self, value: bool) -> Self
Whether to use request method when generate the key.
Trait Implementations§
Source§impl CacheIssuer for RequestIssuer
impl CacheIssuer for RequestIssuer
Source§impl Clone for RequestIssuer
impl Clone for RequestIssuer
Source§fn clone(&self) -> RequestIssuer
fn clone(&self) -> RequestIssuer
Returns a copy of the value. Read more
1.0.0 · 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 RequestIssuer
impl Debug for RequestIssuer
Auto Trait Implementations§
impl Freeze for RequestIssuer
impl RefUnwindSafe for RequestIssuer
impl Send for RequestIssuer
impl Sync for RequestIssuer
impl Unpin for RequestIssuer
impl UnwindSafe for RequestIssuer
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)