Struct rusoto_sdb::UpdateCondition[][src]

pub struct UpdateCondition {
    pub exists: Option<bool>,
    pub name: Option<String>,
    pub value: Option<String>,
}

Specifies the conditions under which data should be updated. If an update condition is specified for a request, the data will only be updated if the condition is satisfied. For example, if an attribute with a specific name and value exists, or if a specific attribute doesn't exist.

Fields

A value specifying whether or not the specified attribute must exist with the specified value in order for the update condition to be satisfied. Specify true if the attribute must exist for the update condition to be satisfied. Specify false if the attribute should not exist in order for the update condition to be satisfied.

The name of the attribute involved in the condition.

The value of an attribute. This value can only be specified when the Exists parameter is equal to true.

Trait Implementations

impl Default for UpdateCondition
[src]

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

impl Debug for UpdateCondition
[src]

Formats the value using the given formatter. Read more

impl Clone for UpdateCondition
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for UpdateCondition
[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