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
sourceimpl 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
.
sourceimpl Contributor
impl Contributor
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture Contributor
.
Trait Implementations
sourceimpl Clone for Contributor
impl Clone for Contributor
sourcefn clone(&self) -> Contributor
fn clone(&self) -> Contributor
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 Contributor
impl Debug for Contributor
sourceimpl PartialEq<Contributor> for Contributor
impl PartialEq<Contributor> for Contributor
sourcefn eq(&self, other: &Contributor) -> bool
fn eq(&self, other: &Contributor) -> bool
impl StructuralPartialEq for Contributor
Auto Trait Implementations
impl RefUnwindSafe for Contributor
impl Send for Contributor
impl Sync for Contributor
impl Unpin for Contributor
impl UnwindSafe for Contributor
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