#[non_exhaustive]pub struct IcmpRateLimit {
pub bucket_size: Option<String>,
pub packet_rate: Option<String>,
}Expand description
An icmpv4-rate-limit or icmpv6-rate-limit.
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.bucket_size: Option<String>Seconds.
packet_rate: Option<String>Packets per second.
Trait Implementations§
Source§impl Clone for IcmpRateLimit
impl Clone for IcmpRateLimit
Source§impl Debug for IcmpRateLimit
impl Debug for IcmpRateLimit
Source§impl Default for IcmpRateLimit
impl Default for IcmpRateLimit
impl Eq for IcmpRateLimit
Source§impl PartialEq for IcmpRateLimit
impl PartialEq for IcmpRateLimit
impl StructuralPartialEq for IcmpRateLimit
Auto Trait Implementations§
impl Forget for IcmpRateLimit
impl Freeze for IcmpRateLimit
impl Move for IcmpRateLimit
impl RefUnwindSafe for IcmpRateLimit
impl Send for IcmpRateLimit
impl Sync for IcmpRateLimit
impl Unpin for IcmpRateLimit
impl UnsafeUnpin for IcmpRateLimit
impl UnwindSafe for IcmpRateLimit
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