Struct aws_sdk_shield::model::AttackSummary
source · [−]#[non_exhaustive]pub struct AttackSummary { /* private fields */ }
Expand description
Summarizes all DDoS attacks for a specified time period.
Implementations
sourceimpl AttackSummary
impl AttackSummary
sourcepub fn resource_arn(&self) -> Option<&str>
pub fn resource_arn(&self) -> Option<&str>
The ARN (Amazon Resource Name) of the resource that was attacked.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
The start time of the attack, in Unix time in seconds.
sourcepub fn end_time(&self) -> Option<&DateTime>
pub fn end_time(&self) -> Option<&DateTime>
The end time of the attack, in Unix time in seconds.
sourcepub fn attack_vectors(&self) -> Option<&[AttackVectorDescription]>
pub fn attack_vectors(&self) -> Option<&[AttackVectorDescription]>
The list of attacks for a specified time period.
sourceimpl AttackSummary
impl AttackSummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AttackSummary
.
Trait Implementations
sourceimpl Clone for AttackSummary
impl Clone for AttackSummary
sourcefn clone(&self) -> AttackSummary
fn clone(&self) -> AttackSummary
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for AttackSummary
impl Debug for AttackSummary
sourceimpl PartialEq<AttackSummary> for AttackSummary
impl PartialEq<AttackSummary> for AttackSummary
sourcefn eq(&self, other: &AttackSummary) -> bool
fn eq(&self, other: &AttackSummary) -> bool
impl StructuralPartialEq for AttackSummary
Auto Trait Implementations
impl RefUnwindSafe for AttackSummary
impl Send for AttackSummary
impl Sync for AttackSummary
impl Unpin for AttackSummary
impl UnwindSafe for AttackSummary
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more