pub struct NtsRateLimitConfig {
pub interval: i32,
pub burst: i32,
pub leak: i32,
}Expand description
Configuration for the ntsratelimit directive (NTS rate limiting).
Fields§
§interval: i32§burst: i32§leak: i32Trait Implementations§
Source§impl Clone for NtsRateLimitConfig
impl Clone for NtsRateLimitConfig
Source§fn clone(&self) -> NtsRateLimitConfig
fn clone(&self) -> NtsRateLimitConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NtsRateLimitConfig
impl Debug for NtsRateLimitConfig
Source§impl Default for NtsRateLimitConfig
impl Default for NtsRateLimitConfig
Source§impl PartialEq for NtsRateLimitConfig
impl PartialEq for NtsRateLimitConfig
Source§fn eq(&self, other: &NtsRateLimitConfig) -> bool
fn eq(&self, other: &NtsRateLimitConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NtsRateLimitConfig
Auto Trait Implementations§
impl Freeze for NtsRateLimitConfig
impl RefUnwindSafe for NtsRateLimitConfig
impl Send for NtsRateLimitConfig
impl Sync for NtsRateLimitConfig
impl Unpin for NtsRateLimitConfig
impl UnsafeUnpin for NtsRateLimitConfig
impl UnwindSafe for NtsRateLimitConfig
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