pub struct AttackReport {
pub id: String,
pub name: String,
pub total_count: i32,
pub blocked_count: i32,
pub flagged_count: i32,
pub attack_count: i32,
pub all_flagged_ip_count: i32,
pub flagged_ip_count: i32,
pub top_attack_signals: Vec<AttackSignal>,
pub top_attack_sources: Vec<AttackSource>,
}
Fields§
§id: String
ID of the workspace.
name: String
Name of the workspace.
total_count: i32
Total request count
blocked_count: i32
Blocked request count
flagged_count: i32
Flagged request count
attack_count: i32
Attack request count
all_flagged_ip_count: i32
Count of IPs that have been flagged
flagged_ip_count: i32
Count of currently flagged IPs
top_attack_signals: Vec<AttackSignal>
§top_attack_sources: Vec<AttackSource>
Implementations§
Source§impl AttackReport
impl AttackReport
pub fn new( id: String, name: String, total_count: i32, blocked_count: i32, flagged_count: i32, attack_count: i32, all_flagged_ip_count: i32, flagged_ip_count: i32, top_attack_signals: Vec<AttackSignal>, top_attack_sources: Vec<AttackSource>, ) -> AttackReport
Trait Implementations§
Source§impl Clone for AttackReport
impl Clone for AttackReport
Source§fn clone(&self) -> AttackReport
fn clone(&self) -> AttackReport
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AttackReport
impl Debug for AttackReport
Source§impl Default for AttackReport
impl Default for AttackReport
Source§fn default() -> AttackReport
fn default() -> AttackReport
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AttackReport
impl<'de> Deserialize<'de> for AttackReport
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
Source§impl PartialEq for AttackReport
impl PartialEq for AttackReport
Source§impl Serialize for AttackReport
impl Serialize for AttackReport
impl StructuralPartialEq for AttackReport
Auto Trait Implementations§
impl Freeze for AttackReport
impl RefUnwindSafe for AttackReport
impl Send for AttackReport
impl Sync for AttackReport
impl Unpin for AttackReport
impl UnwindSafe for AttackReport
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