pub struct Attack {
pub classification: Option<String>,
pub volume_bps: Option<i32>,
pub volume_bps_long: Option<i64>,
pub volume_pps: Option<i32>,
pub volume_pps_long: Option<i64>,
}Expand description
Information about DDoS attack volume and classification.
This type is not used in any activity, and only used as part of another schema.
Fields§
§classification: Option<String>Type of attack, for example, ‘SYN-flood’, ‘NTP-udp’, or ‘CHARGEN-udp’.
volume_bps: Option<i32>Total BPS (bytes per second) volume of attack. Deprecated - refer to volume_bps_long instead.
volume_bps_long: Option<i64>Total BPS (bytes per second) volume of attack.
volume_pps: Option<i32>Total PPS (packets per second) volume of attack. Deprecated - refer to volume_pps_long instead.
volume_pps_long: Option<i64>Total PPS (packets per second) volume of attack.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Attack
impl<'de> Deserialize<'de> for Attack
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for Attack
Auto Trait Implementations§
impl Freeze for Attack
impl RefUnwindSafe for Attack
impl Send for Attack
impl Sync for Attack
impl Unpin for Attack
impl UnsafeUnpin for Attack
impl UnwindSafe for Attack
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