pub struct FindOptions {
pub limit: Option<u32>,
pub skip: Option<u32>,
pub order: Vec<(String, SortDirection)>,
pub keys: Option<Vec<String>>,
pub exclude_keys: Option<Vec<String>>,
pub include: Vec<Vec<String>>,
}Expand description
Everything about a read that is not a constraint.
Fields§
§limit: Option<u32>§skip: Option<u32>§order: Vec<(String, SortDirection)>§keys: Option<Vec<String>>§exclude_keys: Option<Vec<String>>Subtracted from the projection before it reaches storage, so an adapter only ever sees the positive form.
include: Vec<Vec<String>>Include paths, every prefix materialized and sorted by depth. Build with
crate::query_parse::parse_include.
Trait Implementations§
Source§impl Clone for FindOptions
impl Clone for FindOptions
Source§fn clone(&self) -> FindOptions
fn clone(&self) -> FindOptions
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 FindOptions
impl Debug for FindOptions
Auto Trait Implementations§
impl Freeze for FindOptions
impl RefUnwindSafe for FindOptions
impl Send for FindOptions
impl Sync for FindOptions
impl Unpin for FindOptions
impl UnsafeUnpin for FindOptions
impl UnwindSafe for FindOptions
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