Struct aws_sdk_shield::model::Contributor
source · #[non_exhaustive]pub struct Contributor { /* private fields */ }
Expand description
A contributor to the attack and their contribution.
Implementations§
source§impl Contributor
impl Contributor
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the contributor. The type of name that you'll find here depends on the AttackPropertyIdentifier
setting in the AttackProperty
where this contributor is defined. For example, if the AttackPropertyIdentifier
is SOURCE_COUNTRY
, the Name
could be United States
.
source§impl Contributor
impl Contributor
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture Contributor
.
Trait Implementations§
source§impl Clone for Contributor
impl Clone for Contributor
source§fn clone(&self) -> Contributor
fn clone(&self) -> Contributor
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 Contributor
impl Debug for Contributor
source§impl PartialEq<Contributor> for Contributor
impl PartialEq<Contributor> for Contributor
source§fn eq(&self, other: &Contributor) -> bool
fn eq(&self, other: &Contributor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.