pub struct KeysAndAttributes {
pub keys: Vec<HashMap<String, AttributeValue>>,
pub projection_expression: Option<String>,
pub expression_attribute_names: Option<HashMap<String, String>>,
pub consistent_read: Option<bool>,
pub attributes_to_get: Vec<String>,
}Expand description
A set of keys and optional projection for BatchGetItem.
Describes the items to retrieve from a single table.
Fields§
§keys: Vec<HashMap<String, AttributeValue>>The primary keys of the items to retrieve.
projection_expression: Option<String>The attributes to retrieve. If not specified, all attributes are returned.
expression_attribute_names: Option<HashMap<String, String>>Expression attribute names for substitution in projection_expression.
consistent_read: Option<bool>Whether to use a consistent read.
attributes_to_get: Vec<String>Legacy: attribute names to retrieve (use projection_expression instead).
Trait Implementations§
Source§impl Clone for KeysAndAttributes
impl Clone for KeysAndAttributes
Source§fn clone(&self) -> KeysAndAttributes
fn clone(&self) -> KeysAndAttributes
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 KeysAndAttributes
impl Debug for KeysAndAttributes
Source§impl<'de> Deserialize<'de> for KeysAndAttributes
impl<'de> Deserialize<'de> for KeysAndAttributes
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 KeysAndAttributes
impl RefUnwindSafe for KeysAndAttributes
impl Send for KeysAndAttributes
impl Sync for KeysAndAttributes
impl Unpin for KeysAndAttributes
impl UnsafeUnpin for KeysAndAttributes
impl UnwindSafe for KeysAndAttributes
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