pub struct IndexCursor {
pub value: IndexValue,
pub key: Vec<u8>,
}Expand description
Opaque pagination cursor: the last (value, key) served. Encoded
by the runtime into the wire cursor; None = start.
Fields§
§value: IndexValueLast value served.
key: Vec<u8>Last key served (tiebreak within a value).
Trait Implementations§
impl Eq for Cursor
impl StructuralPartialEq for Cursor
Auto Trait Implementations§
impl Freeze for Cursor
impl RefUnwindSafe for Cursor
impl Send for Cursor
impl Sync for Cursor
impl Unpin for Cursor
impl UnsafeUnpin for Cursor
impl UnwindSafe for Cursor
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