pub struct ReversePage {
pub entries: Vec<(Vec<u8>, Vec<u8>)>,
pub next_cursor: Option<ReverseCursor>,
}Expand description
A bounded page of reverse-scan results.
Entries are returned in descending key order. next_cursor is Some when
another call should resume before the last entry in this page.
Fields§
§entries: Vec<(Vec<u8>, Vec<u8>)>§next_cursor: Option<ReverseCursor>Trait Implementations§
Source§impl Clone for ReversePage
impl Clone for ReversePage
Source§fn clone(&self) -> ReversePage
fn clone(&self) -> ReversePage
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 ReversePage
impl Debug for ReversePage
Source§impl Default for ReversePage
impl Default for ReversePage
Source§fn default() -> ReversePage
fn default() -> ReversePage
Returns the “default value” for a type. Read more
impl Eq for ReversePage
Source§impl PartialEq for ReversePage
impl PartialEq for ReversePage
impl StructuralPartialEq for ReversePage
Auto Trait Implementations§
impl Freeze for ReversePage
impl RefUnwindSafe for ReversePage
impl Send for ReversePage
impl Sync for ReversePage
impl Unpin for ReversePage
impl UnsafeUnpin for ReversePage
impl UnwindSafe for ReversePage
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<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