Struct aws_sdk_shield::types::AttackVolume
source · #[non_exhaustive]pub struct AttackVolume {
pub bits_per_second: Option<AttackVolumeStatistics>,
pub packets_per_second: Option<AttackVolumeStatistics>,
pub requests_per_second: Option<AttackVolumeStatistics>,
}
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.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.bits_per_second: Option<AttackVolumeStatistics>
A statistics object that uses bits per second as the unit. This is included for network level attacks.
packets_per_second: Option<AttackVolumeStatistics>
A statistics object that uses packets per second as the unit. This is included for network level attacks.
requests_per_second: 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.
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AttackVolume
impl Debug for AttackVolume
source§impl PartialEq for AttackVolume
impl PartialEq for AttackVolume
impl StructuralPartialEq for AttackVolume
Auto Trait Implementations§
impl Freeze for AttackVolume
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more