pub struct PutRequest {
pub item: HashMap<String, AttributeValue>,
}
Expand description
Represents a request to perform a PutItem
operation on an item.
Fields§
§item: HashMap<String, AttributeValue>
A map of attribute name to attribute values, representing the primary key of an item to be processed by PutItem
. All of the table's primary key attributes must be specified, and their data types must match those of the table's key schema. If any attributes are present in the item that are part of an index key schema for the table, their types must match the index key schema.
Trait Implementations§
Source§impl Clone for PutRequest
impl Clone for PutRequest
Source§fn clone(&self) -> PutRequest
fn clone(&self) -> PutRequest
Returns a copy 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 PutRequest
impl Debug for PutRequest
Source§impl Default for PutRequest
impl Default for PutRequest
Source§fn default() -> PutRequest
fn default() -> PutRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PutRequest
impl<'de> Deserialize<'de> for PutRequest
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
Source§impl PartialEq for PutRequest
impl PartialEq for PutRequest
Source§impl Serialize for PutRequest
impl Serialize for PutRequest
impl StructuralPartialEq for PutRequest
Auto Trait Implementations§
impl Freeze for PutRequest
impl RefUnwindSafe for PutRequest
impl Send for PutRequest
impl Sync for PutRequest
impl Unpin for PutRequest
impl UnwindSafe for PutRequest
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