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