pub struct TransactPut {
pub table_name: String,
pub item: HashMap<String, AttributeValue>,
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
A put action within a transaction.
Fields§
§table_name: StringThe table to put the item into.
item: HashMap<String, AttributeValue>The item to put.
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 TransactPut
impl Clone for TransactPut
Source§fn clone(&self) -> TransactPut
fn clone(&self) -> TransactPut
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 TransactPut
impl Debug for TransactPut
Source§impl<'de> Deserialize<'de> for TransactPut
impl<'de> Deserialize<'de> for TransactPut
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 TransactPut
impl RefUnwindSafe for TransactPut
impl Send for TransactPut
impl Sync for TransactPut
impl Unpin for TransactPut
impl UnsafeUnpin for TransactPut
impl UnwindSafe for TransactPut
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