pub struct ScanOutput {
pub items: Option<Vec<HashMap<String, AttributeValue>>>,
pub count: i32,
pub scanned_count: i32,
pub last_evaluated_key: HashMap<String, AttributeValue>,
pub consumed_capacity: Option<ConsumedCapacity>,
}Expand description
Output for the Scan operation.
Fields§
§items: Option<Vec<HashMap<String, AttributeValue>>>An array of item attributes that match the scan conditions.
None when Select=COUNT (omitted from JSON), Some(vec) otherwise
(always serialized, even when empty).
count: i32The number of items in the response.
scanned_count: i32The number of items evaluated before the filter expression was applied.
last_evaluated_key: HashMap<String, AttributeValue>The primary key of the item where the scan operation stopped. Use this
value as ExclusiveStartKey in a subsequent scan to continue.
consumed_capacity: Option<ConsumedCapacity>The capacity units consumed by the operation.
Trait Implementations§
Source§impl Clone for ScanOutput
impl Clone for ScanOutput
Source§fn clone(&self) -> ScanOutput
fn clone(&self) -> ScanOutput
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 ScanOutput
impl Debug for ScanOutput
Source§impl Default for ScanOutput
impl Default for ScanOutput
Source§fn default() -> ScanOutput
fn default() -> ScanOutput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ScanOutput
impl<'de> Deserialize<'de> for ScanOutput
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 ScanOutput
impl RefUnwindSafe for ScanOutput
impl Send for ScanOutput
impl Sync for ScanOutput
impl Unpin for ScanOutput
impl UnsafeUnpin for ScanOutput
impl UnwindSafe for ScanOutput
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