Struct rusoto_shield::Contributor [−][src]
A contributor to the attack and their contribution.
Fields
name: Option<String>
The name of the contributor. This is dependent on the AttackPropertyIdentifier
. For example, if the AttackPropertyIdentifier
is SOURCE_COUNTRY
, the Name
could be United States
.
value: Option<i64>
The contribution of this contributor expressed in Protection units. For example 10,000
.
Trait Implementations
impl Default for Contributor
[src]
impl Default for Contributor
fn default() -> Contributor
[src]
fn default() -> Contributor
Returns the "default value" for a type. Read more
impl Debug for Contributor
[src]
impl Debug for Contributor
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Contributor
[src]
impl Clone for Contributor
fn clone(&self) -> Contributor
[src]
fn clone(&self) -> Contributor
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for Contributor
[src]
impl PartialEq for Contributor
fn eq(&self, other: &Contributor) -> bool
[src]
fn eq(&self, other: &Contributor) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Contributor) -> bool
[src]
fn ne(&self, other: &Contributor) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for Contributor
impl Send for Contributor
impl Sync for Contributor
impl Sync for Contributor