pub struct QueryOptionsInternal<'a, U: PrimaryKey<'a>> {
pub limit: usize,
pub order: Order,
pub min: Option<Bound<'a, U>>,
pub max: Option<Bound<'a, U>>,
}
Expand description
QueryOptionsInternal are derived from QueryOptions
using the unpack
function.
Fields§
§limit: usize
The number of items that will be returned
order: Order
The cosmwasm_std::Order used to sort items in cw_storage_plus range queries
min: Option<Bound<'a, U>>
The cw_storage_plus::Bound used to sort items in cw_storage_plus range queries
max: Option<Bound<'a, U>>
The cw_storage_plus::Bound used to sort items in cw_storage_plus range queries
Auto Trait Implementations§
impl<'a, U> Freeze for QueryOptionsInternal<'a, U>where
U: Freeze,
impl<'a, U> RefUnwindSafe for QueryOptionsInternal<'a, U>where
U: RefUnwindSafe,
impl<'a, U> Send for QueryOptionsInternal<'a, U>where
U: Send,
impl<'a, U> Sync for QueryOptionsInternal<'a, U>where
U: Sync,
impl<'a, U> Unpin for QueryOptionsInternal<'a, U>where
U: Unpin,
impl<'a, U> UnwindSafe for QueryOptionsInternal<'a, U>where
U: UnwindSafe,
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