pub struct CollectionQuery {
pub limit: usize,
pub offset: usize,
pub sort: Vec<SortKey>,
pub fields: Option<Vec<String>>,
pub filters: Vec<Filter>,
}Expand description
A parsed collection query.
Fields§
§limit: usizePage size.
offset: usizeIndex of the first item of the page.
sort: Vec<SortKey>Ordering keys, most significant first.
fields: Option<Vec<String>>Sparse fieldset, or None when every field is requested.
filters: Vec<Filter>Field filters.
Trait Implementations§
Source§impl Clone for CollectionQuery
impl Clone for CollectionQuery
Source§fn clone(&self) -> CollectionQuery
fn clone(&self) -> CollectionQuery
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CollectionQuery
impl Debug for CollectionQuery
Source§impl Default for CollectionQuery
impl Default for CollectionQuery
Source§impl PartialEq for CollectionQuery
impl PartialEq for CollectionQuery
impl StructuralPartialEq for CollectionQuery
Auto Trait Implementations§
impl Freeze for CollectionQuery
impl RefUnwindSafe for CollectionQuery
impl Send for CollectionQuery
impl Sync for CollectionQuery
impl Unpin for CollectionQuery
impl UnsafeUnpin for CollectionQuery
impl UnwindSafe for CollectionQuery
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