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 the request’s URI scheme when generating the key.
Whether to use the request’s URI authority when generating the key.
Sourcepub fn use_path(self, value: bool) -> Self
pub fn use_path(self, value: bool) -> Self
Whether to use the request’s URI path when generating the key.
Sourcepub fn use_query(self, value: bool) -> Self
pub fn use_query(self, value: bool) -> Self
Whether to use the request’s URI query when generating the key.
Sourcepub fn use_method(self, value: bool) -> Self
pub fn use_method(self, value: bool) -> Self
Whether to use the request method when generating 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 duplicate 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