pub struct RateLimitByPass<T: Store + 'static> { /* private fields */ }Implementations§
Source§impl<T: Store + 'static> RateLimitByPass<T>
impl<T: Store + 'static> RateLimitByPass<T>
pub fn get_value(&self) -> Option<&<T as Store>::Value>
pub fn from_request(req: &HttpRequest) -> Option<RateLimitByPass<T>>
Trait Implementations§
Source§impl<T: Clone + Store + 'static> Clone for RateLimitByPass<T>
impl<T: Clone + Store + 'static> Clone for RateLimitByPass<T>
Source§fn clone(&self) -> RateLimitByPass<T>
fn clone(&self) -> RateLimitByPass<T>
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 moreAuto Trait Implementations§
impl<T> Freeze for RateLimitByPass<T>
impl<T> RefUnwindSafe for RateLimitByPass<T>
impl<T> Send for RateLimitByPass<T>
impl<T> Sync for RateLimitByPass<T>
impl<T> Unpin for RateLimitByPass<T>
impl<T> UnwindSafe for RateLimitByPass<T>
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