pub struct AppendCursor {
pub position: u64,
pub tag: Option<u64>,
}Expand description
D269 — Opaque cursor for windowed load_entries pagination
(memo:Re loadEntries-pagination parity). Mirrors TS AppendCursor.
position is a forward-only offset into the flattened, lex-ASC-by-
key, entry-order-within-key sequence. tag is reserved for future
stable-iteration tokens; currently always None.
Fields§
§position: u64§tag: Option<u64>Implementations§
Source§impl AppendCursor
impl AppendCursor
pub const fn from_position(position: u64) -> Self
Trait Implementations§
Source§impl Clone for AppendCursor
impl Clone for AppendCursor
Source§fn clone(&self) -> AppendCursor
fn clone(&self) -> AppendCursor
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 moreSource§impl Debug for AppendCursor
impl Debug for AppendCursor
Source§impl Default for AppendCursor
impl Default for AppendCursor
Source§fn default() -> AppendCursor
fn default() -> AppendCursor
Returns the “default value” for a type. Read more
Source§impl PartialEq for AppendCursor
impl PartialEq for AppendCursor
Source§fn eq(&self, other: &AppendCursor) -> bool
fn eq(&self, other: &AppendCursor) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AppendCursor
impl Eq for AppendCursor
impl StructuralPartialEq for AppendCursor
Auto Trait Implementations§
impl Freeze for AppendCursor
impl RefUnwindSafe for AppendCursor
impl Send for AppendCursor
impl Sync for AppendCursor
impl Unpin for AppendCursor
impl UnsafeUnpin for AppendCursor
impl UnwindSafe for AppendCursor
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.