pub struct Get {
pub table_name: String,
pub key: HashMap<String, AttributeValue>,
pub projection_expression: Option<String>,
pub expression_attribute_names: Option<HashMap<String, String>>,
}Expand description
A get operation targeting a single item by primary key.
Fields§
§table_name: StringThe table containing the item.
key: HashMap<String, AttributeValue>The primary key of the item to retrieve.
projection_expression: Option<String>A projection expression to limit returned attributes.
expression_attribute_names: Option<HashMap<String, String>>Substitution tokens for attribute names.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Get
impl<'de> Deserialize<'de> for Get
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 Get
impl RefUnwindSafe for Get
impl Send for Get
impl Sync for Get
impl Unpin for Get
impl UnsafeUnpin 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