pub enum FetchDirection {
Count {
limit: Value,
},
Next,
Prior,
First,
Last,
Absolute {
limit: Value,
},
Relative {
limit: Value,
},
All,
Forward {
limit: Option<Value>,
},
ForwardAll,
Backward {
limit: Option<Value>,
},
BackwardAll,
}Expand description
Specific direction for FETCH statement
Variants§
Count
Fetch a specific count of rows.
Next
Fetch the next row.
Prior
Fetch the prior row.
First
Fetch the first row.
Last
Fetch the last row.
Absolute
Fetch an absolute row by index.
Relative
Fetch a row relative to the current position.
All
Fetch all rows.
Forward
Fetch forward by an optional limit.
ForwardAll
Fetch all forward rows.
Backward
Fetch backward by an optional limit.
BackwardAll
Fetch all backward rows.
Trait Implementations§
Source§impl Clone for FetchDirection
impl Clone for FetchDirection
Source§fn clone(&self) -> FetchDirection
fn clone(&self) -> FetchDirection
Returns a duplicate of the value. Read more
1.0.0 · 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 FetchDirection
impl Debug for FetchDirection
Source§impl Display for FetchDirection
impl Display for FetchDirection
Source§impl Hash for FetchDirection
impl Hash for FetchDirection
Source§impl Ord for FetchDirection
impl Ord for FetchDirection
Source§fn cmp(&self, other: &FetchDirection) -> Ordering
fn cmp(&self, other: &FetchDirection) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for FetchDirection
impl PartialEq for FetchDirection
Source§impl PartialOrd for FetchDirection
impl PartialOrd for FetchDirection
Source§impl Visit for FetchDirection
impl Visit for FetchDirection
Source§impl VisitMut for FetchDirection
impl VisitMut for FetchDirection
Source§fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
Mutably visit this node with the provided
VisitorMut. Read moreimpl Eq for FetchDirection
impl StructuralPartialEq for FetchDirection
Auto Trait Implementations§
impl Freeze for FetchDirection
impl RefUnwindSafe for FetchDirection
impl Send for FetchDirection
impl Sync for FetchDirection
impl Unpin for FetchDirection
impl UnsafeUnpin for FetchDirection
impl UnwindSafe for FetchDirection
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