pub struct Limit {
pub sort: Option<Sort>,
pub count: Option<usize>,
pub any: bool,
}Expand description
What a search was asked for beyond its shape.
Fields§
§sort: Option<Sort>ASC or DESC, or nothing, which leaves the results in the order the
boxes were walked in.
count: Option<usize>COUNT, or nothing for all of them.
any: boolANY, which stops the walk as soon as count are in hand rather than
finding them all and keeping the nearest.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Limit
impl RefUnwindSafe for Limit
impl Send for Limit
impl Sync for Limit
impl Unpin for Limit
impl UnsafeUnpin for Limit
impl UnwindSafe for Limit
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