#[non_exhaustive]pub struct DdosPacketType {Show 21 fields
pub name: String,
pub bandwidth: Option<String>,
pub burst: Option<String>,
pub bypass_aggregate: bool,
pub disable_fpc: bool,
pub disable_logging: bool,
pub disable_routing_engine: bool,
pub fpcs: Vec<DdosFpc>,
pub hostbound_queue: Option<String>,
pub priority: Option<String>,
pub recover_time: Option<String>,
pub range: Option<String>,
pub flow_detection_mode: Option<String>,
pub flow_detect_time: Option<String>,
pub flow_recover_time: Option<String>,
pub flow_timeout_time: Option<String>,
pub flow_level_bandwidth: Option<DdosFlowLevels>,
pub flow_level_control: Option<DdosFlowLevels>,
pub flow_level_detection: Option<DdosFlowLevels>,
pub no_flow_logging: bool,
pub timeout_active_flows: bool,
}Expand description
A packet type (or the aggregate) of a DDoS protocol group.
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: StringThe packet type, or aggregate.
bandwidth: Option<String>Packets per second.
burst: Option<String>Packets.
bypass_aggregate: bool§disable_fpc: bool§disable_logging: bool§disable_routing_engine: bool§fpcs: Vec<DdosFpc>§hostbound_queue: Option<String>§priority: Option<String>high, medium or low.
recover_time: Option<String>Seconds.
range: Option<String>The range of a sampling aggregate.
flow_detection_mode: Option<String>automatic, off or on.
flow_detect_time: Option<String>§flow_recover_time: Option<String>§flow_timeout_time: Option<String>§flow_level_bandwidth: Option<DdosFlowLevels>§flow_level_control: Option<DdosFlowLevels>§flow_level_detection: Option<DdosFlowLevels>§no_flow_logging: bool§timeout_active_flows: boolTrait Implementations§
Source§impl Clone for DdosPacketType
impl Clone for DdosPacketType
Source§impl Debug for DdosPacketType
impl Debug for DdosPacketType
impl Eq for DdosPacketType
Source§impl PartialEq for DdosPacketType
impl PartialEq for DdosPacketType
impl StructuralPartialEq for DdosPacketType
Auto Trait Implementations§
impl Forget for DdosPacketType
impl Freeze for DdosPacketType
impl Move for DdosPacketType
impl RefUnwindSafe for DdosPacketType
impl Send for DdosPacketTypewhere
RawVecInner: Send,
impl Sync for DdosPacketTypewhere
RawVecInner: Sync,
impl Unpin for DdosPacketType
impl UnsafeUnpin for DdosPacketTypewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<DdosFpc>: UnsafeUnpin,
impl UnwindSafe for DdosPacketTypewhere
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