pub struct DccDisableRateLimit {
pub capacity: u32,
pub refill_interval_ms: u64,
}Expand description
Optional global authorization budget for DISABLE_INITIATION, not ingress protection.
Use Some(Default::default()) to enable; server configuration defaults to None.
Fields§
§capacity: u32Initial and maximum whole tokens (1..=65535).
refill_interval_ms: u64Time to earn one token, in milliseconds (1..=86400000).
Implementations§
Trait Implementations§
Source§impl Clone for DccDisableRateLimit
impl Clone for DccDisableRateLimit
impl Copy for DccDisableRateLimit
Source§impl Debug for DccDisableRateLimit
impl Debug for DccDisableRateLimit
Source§impl Default for DccDisableRateLimit
impl Default for DccDisableRateLimit
impl Eq for DccDisableRateLimit
Source§impl PartialEq for DccDisableRateLimit
impl PartialEq for DccDisableRateLimit
impl StructuralPartialEq for DccDisableRateLimit
Auto Trait Implementations§
impl Freeze for DccDisableRateLimit
impl RefUnwindSafe for DccDisableRateLimit
impl Send for DccDisableRateLimit
impl Sync for DccDisableRateLimit
impl Unpin for DccDisableRateLimit
impl UnsafeUnpin for DccDisableRateLimit
impl UnwindSafe for DccDisableRateLimit
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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