[][src]Struct rusoto_dynamodb::ConditionCheck

pub struct ConditionCheck {
    pub condition_expression: String,
    pub expression_attribute_names: Option<HashMap<String, String>>,
    pub expression_attribute_values: Option<HashMap<String, AttributeValue>>,
    pub key: HashMap<String, AttributeValue>,
    pub return_values_on_condition_check_failure: Option<String>,
    pub table_name: String,
}

Represents a request to perform a check that an item exists or to check the condition of specific attributes of the item.

Fields

condition_expression: String

A condition that must be satisfied in order for a conditional update to succeed.

expression_attribute_names: Option<HashMap<String, String>>

One or more substitution tokens for attribute names in an expression.

expression_attribute_values: Option<HashMap<String, AttributeValue>>

One or more values that can be substituted in an expression.

key: HashMap<String, AttributeValue>

The primary key of the item to be checked. Each element consists of an attribute name and a value for that attribute.

return_values_on_condition_check_failure: Option<String>

Use ReturnValuesOnConditionCheckFailure to get the item attributes if the ConditionCheck condition fails. For ReturnValuesOnConditionCheckFailure, the valid values are: NONE and ALL_OLD.

table_name: String

Name of the table for the check item request.

Trait Implementations

impl Clone for ConditionCheck[src]

impl Debug for ConditionCheck[src]

impl Default for ConditionCheck[src]

impl PartialEq<ConditionCheck> for ConditionCheck[src]

impl Serialize for ConditionCheck[src]

impl StructuralPartialEq for ConditionCheck[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.