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
exists: Option<bool>
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.
name: Option<String>
The name of the attribute involved in the condition.
value: Option<String>
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]
impl Default for UpdateCondition
fn default() -> UpdateCondition
[src]
fn default() -> UpdateCondition
Returns the "default value" for a type. Read more
impl Debug for UpdateCondition
[src]
impl Debug for UpdateCondition
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 UpdateCondition
[src]
impl Clone for UpdateCondition
fn clone(&self) -> UpdateCondition
[src]
fn clone(&self) -> UpdateCondition
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)
Performs copy-assignment from source
. Read more
impl PartialEq for UpdateCondition
[src]
impl PartialEq for UpdateCondition
fn eq(&self, other: &UpdateCondition) -> bool
[src]
fn eq(&self, other: &UpdateCondition) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &UpdateCondition) -> bool
[src]
fn ne(&self, other: &UpdateCondition) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for UpdateCondition
impl Send for UpdateCondition
impl Sync for UpdateCondition
impl Sync for UpdateCondition