pub struct FindOptions<K> {
pub sort: Option<Vec<Sort<K>>>,
pub limit: Option<u32>,
pub offset: Option<u64>,
}Expand description
Generic query options for fetching collections.
Fields§
§sort: Option<Vec<Sort<K>>>§limit: Option<u32>§offset: Option<u64>Trait Implementations§
Source§impl<K: Clone> Clone for FindOptions<K>
impl<K: Clone> Clone for FindOptions<K>
Source§fn clone(&self) -> FindOptions<K>
fn clone(&self) -> FindOptions<K>
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<K: Debug> Debug for FindOptions<K>
impl<K: Debug> Debug for FindOptions<K>
Auto Trait Implementations§
impl<K> Freeze for FindOptions<K>
impl<K> RefUnwindSafe for FindOptions<K>
impl<K> Send for FindOptions<K>
impl<K> Sync for FindOptions<K>
impl<K> Unpin for FindOptions<K>
impl<K> UnsafeUnpin for FindOptions<K>
impl<K> UnwindSafe for FindOptions<K>
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