pub struct QueryParams<'a> {
pub sk_condition: Option<&'a str>,
pub sk_params: &'a [&'a str],
pub forward: bool,
pub limit: Option<usize>,
pub exclusive_start_sk: Option<&'a str>,
pub exclusive_start_base_pk: Option<&'a str>,
pub exclusive_start_base_sk: Option<&'a str>,
}Expand description
Parameters for query operations (base table or GSI).
Fields§
§sk_condition: Option<&'a str>§sk_params: &'a [&'a str]§forward: bool§limit: Option<usize>§exclusive_start_sk: Option<&'a str>§exclusive_start_base_pk: Option<&'a str>For LSI pagination: base table PK for composite cursor.
exclusive_start_base_sk: Option<&'a str>For LSI pagination: base table SK for composite cursor.
Trait Implementations§
Source§impl<'a> Debug for QueryParams<'a>
impl<'a> Debug for QueryParams<'a>
Source§impl<'a> Default for QueryParams<'a>
impl<'a> Default for QueryParams<'a>
Source§fn default() -> QueryParams<'a>
fn default() -> QueryParams<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for QueryParams<'a>
impl<'a> RefUnwindSafe for QueryParams<'a>
impl<'a> Send for QueryParams<'a>
impl<'a> Sync for QueryParams<'a>
impl<'a> Unpin for QueryParams<'a>
impl<'a> UnsafeUnpin for QueryParams<'a>
impl<'a> UnwindSafe for QueryParams<'a>
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