pub struct ExpectedAttributeValue {
pub value: Option<AttributeValue>,
pub exists: Option<bool>,
pub comparison_operator: Option<ComparisonOperator>,
pub attribute_value_list: Vec<AttributeValue>,
}Expand description
Expected attribute value for the legacy Expected parameter (conditional writes).
Fields§
§value: Option<AttributeValue>The value to compare against (legacy simple form).
exists: Option<bool>Whether the attribute must exist (true) or not exist (false).
comparison_operator: Option<ComparisonOperator>The comparison operator (extended form).
attribute_value_list: Vec<AttributeValue>The attribute values to compare against (extended form).
Trait Implementations§
Source§impl Clone for ExpectedAttributeValue
impl Clone for ExpectedAttributeValue
Source§fn clone(&self) -> ExpectedAttributeValue
fn clone(&self) -> ExpectedAttributeValue
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 ExpectedAttributeValue
impl Debug for ExpectedAttributeValue
Source§impl Default for ExpectedAttributeValue
impl Default for ExpectedAttributeValue
Source§fn default() -> ExpectedAttributeValue
fn default() -> ExpectedAttributeValue
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExpectedAttributeValue
impl<'de> Deserialize<'de> for ExpectedAttributeValue
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 ExpectedAttributeValue
impl RefUnwindSafe for ExpectedAttributeValue
impl Send for ExpectedAttributeValue
impl Sync for ExpectedAttributeValue
impl Unpin for ExpectedAttributeValue
impl UnsafeUnpin for ExpectedAttributeValue
impl UnwindSafe for ExpectedAttributeValue
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