#[non_exhaustive]pub enum CursorKey {
Identity(u64),
Ordered {
primary: u64,
identity: u64,
},
Name(String),
}Expand description
The immutable ordering key of the last row returned by a page.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Identity(u64)
A single immutable identity column.
Ordered
An immutable ordinal paired with its identity column.
Fields
Name(String)
An immutable byte-ordered name column.
Trait Implementations§
impl Eq for CursorKey
impl StructuralPartialEq for CursorKey
Auto Trait Implementations§
impl Freeze for CursorKey
impl RefUnwindSafe for CursorKey
impl Send for CursorKey
impl Sync for CursorKey
impl Unpin for CursorKey
impl UnsafeUnpin for CursorKey
impl UnwindSafe for CursorKey
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