#[non_exhaustive]pub struct RuleRateLimit {
pub loss_priority_high: bool,
pub client_to_server: Option<String>,
pub server_to_client: Option<String>,
}Expand description
The rate-limit action of a rule.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.loss_priority_high: bool§client_to_server: Option<String>§server_to_client: Option<String>Trait Implementations§
Source§impl Clone for RuleRateLimit
impl Clone for RuleRateLimit
Source§impl Debug for RuleRateLimit
impl Debug for RuleRateLimit
Source§impl Default for RuleRateLimit
impl Default for RuleRateLimit
impl Eq for RuleRateLimit
Source§impl PartialEq for RuleRateLimit
impl PartialEq for RuleRateLimit
impl StructuralPartialEq for RuleRateLimit
Auto Trait Implementations§
impl Forget for RuleRateLimit
impl Freeze for RuleRateLimit
impl Move for RuleRateLimit
impl RefUnwindSafe for RuleRateLimit
impl Send for RuleRateLimitwhere
RawVecInner: Send,
impl Sync for RuleRateLimitwhere
RawVecInner: Sync,
impl Unpin for RuleRateLimit
impl UnsafeUnpin for RuleRateLimit
impl UnwindSafe for RuleRateLimitwhere
RawVecInner: UnwindSafe,
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