Struct rusoto_shield::Contributor[][src]

pub struct Contributor {
    pub name: Option<String>,
    pub value: Option<i64>,
}

A contributor to the attack and their contribution.

Fields

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.

The contribution of this contributor expressed in Protection units. For example 10,000.

Trait Implementations

impl Default for Contributor
[src]

Returns the "default value" for a type. Read more

impl Debug for Contributor
[src]

Formats the value using the given formatter. Read more

impl Clone for Contributor
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Contributor
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for Contributor

impl Sync for Contributor