pub struct TransactUpdate {
pub table_name: String,
pub key: HashMap<String, AttributeValue>,
pub update_expression: String,
pub condition_expression: Option<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
An update action within a transaction.
Fields§
§table_name: StringThe table containing the item to update.
key: HashMap<String, AttributeValue>The primary key of the item to update.
update_expression: StringThe update expression defining the mutations.
condition_expression: Option<String>An optional condition expression.
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 TransactUpdate
impl Clone for TransactUpdate
Source§fn clone(&self) -> TransactUpdate
fn clone(&self) -> TransactUpdate
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 TransactUpdate
impl Debug for TransactUpdate
Source§impl<'de> Deserialize<'de> for TransactUpdate
impl<'de> Deserialize<'de> for TransactUpdate
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 TransactUpdate
impl RefUnwindSafe for TransactUpdate
impl Send for TransactUpdate
impl Sync for TransactUpdate
impl Unpin for TransactUpdate
impl UnsafeUnpin for TransactUpdate
impl UnwindSafe for TransactUpdate
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