Struct aws_sdk_shield::model::AttackStatisticsDataItem
source · #[non_exhaustive]pub struct AttackStatisticsDataItem { /* private fields */ }
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.
Implementations§
source§impl AttackStatisticsDataItem
impl AttackStatisticsDataItem
sourcepub fn attack_volume(&self) -> Option<&AttackVolume>
pub fn attack_volume(&self) -> Option<&AttackVolume>
Information about the volume of attacks during the time period. If the accompanying AttackCount
is zero, this setting might be empty.
sourcepub fn attack_count(&self) -> i64
pub fn attack_count(&self) -> i64
The number of attacks detected during the time period. This is always present, but might be zero.
source§impl AttackStatisticsDataItem
impl AttackStatisticsDataItem
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AttackStatisticsDataItem
.
Trait Implementations§
source§impl Clone for AttackStatisticsDataItem
impl Clone for AttackStatisticsDataItem
source§fn clone(&self) -> AttackStatisticsDataItem
fn clone(&self) -> AttackStatisticsDataItem
Returns a copy 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 PartialEq<AttackStatisticsDataItem> for AttackStatisticsDataItem
impl PartialEq<AttackStatisticsDataItem> for AttackStatisticsDataItem
source§fn eq(&self, other: &AttackStatisticsDataItem) -> bool
fn eq(&self, other: &AttackStatisticsDataItem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.