pub struct Get {
pub expression_attribute_names: Option<HashMap<String, String>>,
pub key: HashMap<String, AttributeValue>,
pub projection_expression: Option<String>,
pub table_name: String,
}
Expand description
Specifies an item and related attribute values to retrieve in a TransactGetItem
object.
Fields§
§expression_attribute_names: Option<HashMap<String, String>>
One or more substitution tokens for attribute names in the ProjectionExpression parameter.
key: HashMap<String, AttributeValue>
A map of attribute names to AttributeValue
objects that specifies the primary key of the item to retrieve.
projection_expression: Option<String>
A string that identifies one or more attributes of the specified item to retrieve from the table. The attributes in the expression must be separated by commas. If no attribute names are specified, then all attributes of the specified item are returned. If any of the requested attributes are not found, they do not appear in the result.
table_name: String
The name of the table from which to retrieve the specified item.
Trait Implementations§
impl StructuralPartialEq for Get
Auto Trait Implementations§
impl Freeze for Get
impl RefUnwindSafe for Get
impl Send for Get
impl Sync for Get
impl Unpin for Get
impl UnwindSafe for Get
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