pub enum RateLimitDecision {
Allow,
Deny {
retry_after_secs: u64,
},
}Variants§
Trait Implementations§
Source§impl Clone for RateLimitDecision
impl Clone for RateLimitDecision
Source§fn clone(&self) -> RateLimitDecision
fn clone(&self) -> RateLimitDecision
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 RateLimitDecision
impl Debug for RateLimitDecision
Source§impl PartialEq for RateLimitDecision
impl PartialEq for RateLimitDecision
impl Copy for RateLimitDecision
impl Eq for RateLimitDecision
impl StructuralPartialEq for RateLimitDecision
Auto Trait Implementations§
impl Freeze for RateLimitDecision
impl RefUnwindSafe for RateLimitDecision
impl Send for RateLimitDecision
impl Sync for RateLimitDecision
impl Unpin for RateLimitDecision
impl UnsafeUnpin for RateLimitDecision
impl UnwindSafe for RateLimitDecision
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