Struct aws_sdk_shield::types::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() -> AttackVolumeBuilder
pub fn builder() -> AttackVolumeBuilder
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 ==.impl StructuralPartialEq for AttackVolume
Auto Trait Implementations§
impl RefUnwindSafe for AttackVolume
impl Send for AttackVolume
impl Sync for AttackVolume
impl Unpin for AttackVolume
impl UnwindSafe for AttackVolume
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