Struct aws_sdk_shield::model::AttackVolume
source · #[non_exhaustive]pub struct AttackVolume { /* private fields */ }
Expand description
Information about the volume of attacks during the time period, included in an AttackStatisticsDataItem
. If the accompanying AttackCount
in the statistics object is zero, this setting might be empty.
Implementations§
source§impl AttackVolume
impl AttackVolume
sourcepub fn bits_per_second(&self) -> Option<&AttackVolumeStatistics>
pub fn bits_per_second(&self) -> Option<&AttackVolumeStatistics>
A statistics object that uses bits per second as the unit. This is included for network level attacks.
sourcepub fn packets_per_second(&self) -> Option<&AttackVolumeStatistics>
pub fn packets_per_second(&self) -> Option<&AttackVolumeStatistics>
A statistics object that uses packets per second as the unit. This is included for network level attacks.
sourcepub fn requests_per_second(&self) -> Option<&AttackVolumeStatistics>
pub fn requests_per_second(&self) -> Option<&AttackVolumeStatistics>
A statistics object that uses requests per second as the unit. This is included for application level attacks, and is only available for accounts that are subscribed to Shield Advanced.
source§impl AttackVolume
impl AttackVolume
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AttackVolume
.
Trait Implementations§
source§impl Clone for AttackVolume
impl Clone for AttackVolume
source§fn clone(&self) -> AttackVolume
fn clone(&self) -> AttackVolume
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 AttackVolume
impl Debug for AttackVolume
source§impl PartialEq<AttackVolume> for AttackVolume
impl PartialEq<AttackVolume> for AttackVolume
source§fn eq(&self, other: &AttackVolume) -> bool
fn eq(&self, other: &AttackVolume) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.