pub enum CursorDirection {
Next,
Prior,
First,
Last,
Absolute(i64),
Relative(i64),
Count(i64),
All,
Backward(i64),
BackwardAll,
}Expand description
v7.39 (round 218) — FETCH / MOVE cursor direction. PG grammar: single-row forms (NEXT / PRIOR / FIRST / LAST / ABSOLUTE n / RELATIVE n) return at most one row; multi-row forms (bare n / ALL / FORWARD [n|ALL] / BACKWARD [n|ALL]) stream a run. A negative bare/FORWARD count means BACKWARD (normalized at execution).
Variants§
Next
Prior
First
Last
Absolute(i64)
Relative(i64)
Count(i64)
Bare FETCH n / FORWARD n (negative = backward n).
All
ALL / FORWARD ALL.
Backward(i64)
BackwardAll
Trait Implementations§
Source§impl Clone for CursorDirection
impl Clone for CursorDirection
Source§fn clone(&self) -> CursorDirection
fn clone(&self) -> CursorDirection
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 moreimpl Copy for CursorDirection
Source§impl Debug for CursorDirection
impl Debug for CursorDirection
Source§impl Display for CursorDirection
impl Display for CursorDirection
impl Eq for CursorDirection
Source§impl PartialEq for CursorDirection
impl PartialEq for CursorDirection
impl StructuralPartialEq for CursorDirection
Auto Trait Implementations§
impl Freeze for CursorDirection
impl RefUnwindSafe for CursorDirection
impl Send for CursorDirection
impl Sync for CursorDirection
impl Unpin for CursorDirection
impl UnsafeUnpin for CursorDirection
impl UnwindSafe for CursorDirection
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