pub struct QueryRequest {Show 18 fields
pub table_name: String,
pub key_condition_expression: Option<String>,
pub filter_expression: Option<String>,
pub projection_expression: Option<String>,
pub expression_attribute_names: Option<HashMap<String, String>>,
pub expression_attribute_values: Option<HashMap<String, AttributeValue>>,
pub scan_index_forward: bool,
pub limit: Option<usize>,
pub exclusive_start_key: Option<HashMap<String, AttributeValue>>,
pub select: Option<String>,
pub consistent_read: Option<bool>,
pub index_name: Option<String>,
pub return_consumed_capacity: Option<String>,
pub key_conditions: Option<Value>,
pub attributes_to_get: Option<Vec<String>>,
pub query_filter: Option<Value>,
pub conditional_operator: Option<String>,
pub exclusive_start_key_raw: Option<Value>,
}Fields§
§table_name: String§key_condition_expression: Option<String>§filter_expression: Option<String>§projection_expression: Option<String>§expression_attribute_names: Option<HashMap<String, String>>§expression_attribute_values: Option<HashMap<String, AttributeValue>>§scan_index_forward: bool§limit: Option<usize>§exclusive_start_key: Option<HashMap<String, AttributeValue>>§select: Option<String>§consistent_read: Option<bool>§index_name: Option<String>§return_consumed_capacity: Option<String>§key_conditions: Option<Value>§attributes_to_get: Option<Vec<String>>§query_filter: Option<Value>§conditional_operator: Option<String>§exclusive_start_key_raw: Option<Value>Raw JSON for ExclusiveStartKey when deserialized from HTTP request.
Parsed lazily in execute() after other validations run.
When constructed directly (e.g. from MCP), this is None and
exclusive_start_key is used instead.
Trait Implementations§
Source§impl Debug for QueryRequest
impl Debug for QueryRequest
Source§impl Default for QueryRequest
impl Default for QueryRequest
Source§fn default() -> QueryRequest
fn default() -> QueryRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for QueryRequest
impl<'de> Deserialize<'de> for QueryRequest
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for QueryRequest
impl RefUnwindSafe for QueryRequest
impl Send for QueryRequest
impl Sync for QueryRequest
impl Unpin for QueryRequest
impl UnsafeUnpin for QueryRequest
impl UnwindSafe for QueryRequest
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