#[non_exhaustive]pub struct DdosProtocolGroup {
pub name: String,
pub packet_types: Vec<DdosPacketType>,
}Expand description
A protocol group of ddos-protection protocols, such as pppoe or dhcpv4.
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.name: String§packet_types: Vec<DdosPacketType>The packet types and the aggregate, in the order written.
Trait Implementations§
Source§impl Clone for DdosProtocolGroup
impl Clone for DdosProtocolGroup
Source§impl Debug for DdosProtocolGroup
impl Debug for DdosProtocolGroup
impl Eq for DdosProtocolGroup
Source§impl PartialEq for DdosProtocolGroup
impl PartialEq for DdosProtocolGroup
impl StructuralPartialEq for DdosProtocolGroup
Auto Trait Implementations§
impl Forget for DdosProtocolGroup
impl Freeze for DdosProtocolGroup
impl Move for DdosProtocolGroup
impl RefUnwindSafe for DdosProtocolGroup
impl Send for DdosProtocolGroupwhere
RawVecInner: Send,
impl Sync for DdosProtocolGroupwhere
RawVecInner: Sync,
impl Unpin for DdosProtocolGroup
impl UnsafeUnpin for DdosProtocolGroupwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<DdosPacketType>: UnsafeUnpin,
impl UnwindSafe for DdosProtocolGroupwhere
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