Struct aws_sdk_shield::types::AttackSummary
source · #[non_exhaustive]pub struct AttackSummary { /* private fields */ }Expand description
Summarizes all DDoS attacks for a specified time period.
Implementations§
source§impl 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.
source§impl AttackSummary
impl AttackSummary
sourcepub fn builder() -> AttackSummaryBuilder
pub fn builder() -> AttackSummaryBuilder
Creates a new builder-style object to manufacture AttackSummary.
Trait Implementations§
source§impl Clone for AttackSummary
impl Clone for AttackSummary
source§fn clone(&self) -> AttackSummary
fn clone(&self) -> AttackSummary
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 AttackSummary
impl Debug for AttackSummary
source§impl PartialEq<AttackSummary> for AttackSummary
impl PartialEq<AttackSummary> for AttackSummary
source§fn eq(&self, other: &AttackSummary) -> bool
fn eq(&self, other: &AttackSummary) -> bool
This method tests for
self and other values to be equal, and is used
by ==.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§
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