pub enum SqlCursorBound {
Lower,
Upper,
}Expand description
The direction of a cursor comparison: id > $1 bounds id from below, id < $1 from above.
A range (id >= $1 AND id < $2) has both, which narrows the walk.
Variants§
Trait Implementations§
Source§impl Clone for SqlCursorBound
impl Clone for SqlCursorBound
Source§fn clone(&self) -> SqlCursorBound
fn clone(&self) -> SqlCursorBound
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 SqlCursorBound
Source§impl Debug for SqlCursorBound
impl Debug for SqlCursorBound
impl Eq for SqlCursorBound
Source§impl PartialEq for SqlCursorBound
impl PartialEq for SqlCursorBound
impl StructuralPartialEq for SqlCursorBound
Auto Trait Implementations§
impl Forget for SqlCursorBound
impl Freeze for SqlCursorBound
impl Move for SqlCursorBound
impl RefUnwindSafe for SqlCursorBound
impl Send for SqlCursorBound
impl Sync for SqlCursorBound
impl Unpin for SqlCursorBound
impl UnsafeUnpin for SqlCursorBound
impl UnwindSafe for SqlCursorBound
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more