Struct aws_sdk_dynamodb::types::PutRequest
source · #[non_exhaustive]pub struct PutRequest {
pub item: HashMap<String, AttributeValue>,
}
Expand description
Represents a request to perform a PutItem
operation on an item.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.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.
Implementations§
source§impl PutRequest
impl PutRequest
sourcepub fn item(&self) -> &HashMap<String, AttributeValue>
pub fn item(&self) -> &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.
source§impl PutRequest
impl PutRequest
sourcepub fn builder() -> PutRequestBuilder
pub fn builder() -> PutRequestBuilder
Creates a new builder-style object to manufacture PutRequest
.
Trait Implementations§
source§impl Clone for PutRequest
impl Clone for PutRequest
source§fn clone(&self) -> PutRequest
fn clone(&self) -> PutRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PutRequest
impl Debug for PutRequest
source§impl PartialEq for PutRequest
impl PartialEq for PutRequest
source§fn eq(&self, other: &PutRequest) -> bool
fn eq(&self, other: &PutRequest) -> bool
self
and other
values to be equal, and is used
by ==
.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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more