pub struct ConditionCheck {
pub table_name: String,
pub key: HashMap<String, AttributeValue>,
pub condition_expression: String,
pub expression_attribute_names: Option<HashMap<String, String>>,
pub expression_attribute_values: Option<HashMap<String, AttributeValue>>,
pub return_values_on_condition_check_failure: Option<String>,
}Expand description
A condition check within a transaction (no mutation).
Fields§
§table_name: StringThe table containing the item.
key: HashMap<String, AttributeValue>The primary key of the item to check.
condition_expression: StringThe condition expression that must evaluate to true.
expression_attribute_names: Option<HashMap<String, String>>Substitution tokens for attribute names.
expression_attribute_values: Option<HashMap<String, AttributeValue>>Substitution tokens for attribute values.
return_values_on_condition_check_failure: Option<String>Determines whether to return item attributes on condition check failure.
Trait Implementations§
Source§impl Clone for ConditionCheck
impl Clone for ConditionCheck
Source§fn clone(&self) -> ConditionCheck
fn clone(&self) -> ConditionCheck
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConditionCheck
impl Debug for ConditionCheck
Source§impl<'de> Deserialize<'de> for ConditionCheck
impl<'de> Deserialize<'de> for ConditionCheck
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ConditionCheck
impl RefUnwindSafe for ConditionCheck
impl Send for ConditionCheck
impl Sync for ConditionCheck
impl Unpin for ConditionCheck
impl UnsafeUnpin for ConditionCheck
impl UnwindSafe for ConditionCheck
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more