pub struct GetItemOutput {
pub consumed_capacity: Option<ConsumedCapacity>,
pub item: Option<HashMap<String, AttributeValue>>,
}
Expand description
Represents the output of a GetItem
operation.
Fields§
§consumed_capacity: Option<ConsumedCapacity>
The capacity units consumed by the GetItem
operation. The data returned includes the total provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation. ConsumedCapacity
is only returned if the ReturnConsumedCapacity
parameter was specified. For more information, see Read/Write Capacity Mode in the Amazon DynamoDB Developer Guide.
item: Option<HashMap<String, AttributeValue>>
A map of attribute names to AttributeValue
objects, as specified by ProjectionExpression
.
Trait Implementations§
Source§impl Clone for GetItemOutput
impl Clone for GetItemOutput
Source§fn clone(&self) -> GetItemOutput
fn clone(&self) -> GetItemOutput
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 GetItemOutput
impl Debug for GetItemOutput
Source§impl Default for GetItemOutput
impl Default for GetItemOutput
Source§fn default() -> GetItemOutput
fn default() -> GetItemOutput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetItemOutput
impl<'de> Deserialize<'de> for GetItemOutput
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 GetItemOutput
impl PartialEq for GetItemOutput
impl StructuralPartialEq for GetItemOutput
Auto Trait Implementations§
impl Freeze for GetItemOutput
impl RefUnwindSafe for GetItemOutput
impl Send for GetItemOutput
impl Sync for GetItemOutput
impl Unpin for GetItemOutput
impl UnwindSafe for GetItemOutput
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