pub struct AttackStatisticsDataItem {
pub attack_count: i64,
pub attack_volume: Option<AttackVolume>,
}
Expand description
A single attack statistics data record. This is returned by DescribeAttackStatistics along with a time range indicating the time period that the attack statistics apply to.
Fields§
§attack_count: i64
The number of attacks detected during the time period. This is always present, but might be zero.
attack_volume: Option<AttackVolume>
Information about the volume of attacks during the time period. If the accompanying AttackCount
is zero, this setting might be empty.
Trait Implementations§
Source§impl Clone for AttackStatisticsDataItem
impl Clone for AttackStatisticsDataItem
Source§fn clone(&self) -> AttackStatisticsDataItem
fn clone(&self) -> AttackStatisticsDataItem
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 AttackStatisticsDataItem
impl Debug for AttackStatisticsDataItem
Source§impl Default for AttackStatisticsDataItem
impl Default for AttackStatisticsDataItem
Source§fn default() -> AttackStatisticsDataItem
fn default() -> AttackStatisticsDataItem
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AttackStatisticsDataItem
impl<'de> Deserialize<'de> for AttackStatisticsDataItem
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 AttackStatisticsDataItem
impl PartialEq for AttackStatisticsDataItem
impl StructuralPartialEq for AttackStatisticsDataItem
Auto Trait Implementations§
impl Freeze for AttackStatisticsDataItem
impl RefUnwindSafe for AttackStatisticsDataItem
impl Send for AttackStatisticsDataItem
impl Sync for AttackStatisticsDataItem
impl Unpin for AttackStatisticsDataItem
impl UnwindSafe for AttackStatisticsDataItem
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