Struct aws_sdk_dynamodb::output::GetItemOutput
source · [−]#[non_exhaustive]pub struct GetItemOutput {
pub item: Option<HashMap<String, AttributeValue>>,
pub consumed_capacity: Option<ConsumedCapacity>,
}
Expand description
Represents the output of a GetItem
operation.
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: Option<HashMap<String, AttributeValue>>
A map of attribute names to AttributeValue
objects, as specified by ProjectionExpression
.
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.
Implementations
A map of attribute names to AttributeValue
objects, as specified by ProjectionExpression
.
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.
Creates a new builder-style object to manufacture GetItemOutput
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for GetItemOutput
impl Send for GetItemOutput
impl Sync for GetItemOutput
impl Unpin for GetItemOutput
impl UnwindSafe for GetItemOutput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more