Struct abstract_core::objects::paged_map::PaginationInfo
source · pub struct PaginationInfo<Acum> {
pub is_locked: bool,
pub last_processed_item: Option<Vec<u8>>,
pub accumulator: Option<Acum>,
}
Fields§
§is_locked: bool
Prevents map manipulation during pagination
last_processed_item: Option<Vec<u8>>
Starting item for next iteration
accumulator: Option<Acum>
Accumulator item available for use in pagination function
Trait Implementations§
source§impl<Acum: Clone> Clone for PaginationInfo<Acum>
impl<Acum: Clone> Clone for PaginationInfo<Acum>
source§fn clone(&self) -> PaginationInfo<Acum>
fn clone(&self) -> PaginationInfo<Acum>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<Acum: Debug> Debug for PaginationInfo<Acum>
impl<Acum: Debug> Debug for PaginationInfo<Acum>
source§impl<'de, Acum> Deserialize<'de> for PaginationInfo<Acum>where
Acum: Deserialize<'de>,
impl<'de, Acum> Deserialize<'de> for PaginationInfo<Acum>where
Acum: Deserialize<'de>,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<Acum> RefUnwindSafe for PaginationInfo<Acum>where
Acum: RefUnwindSafe,
impl<Acum> Send for PaginationInfo<Acum>where
Acum: Send,
impl<Acum> Sync for PaginationInfo<Acum>where
Acum: Sync,
impl<Acum> Unpin for PaginationInfo<Acum>where
Acum: Unpin,
impl<Acum> UnwindSafe for PaginationInfo<Acum>where
Acum: UnwindSafe,
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
fn as_<T>(self) -> Twhere
T: CastFrom<U>,
Casts
self
to type T
. The semantics of numeric casting with the as
operator are followed, so <T as As>::as_::<U>
can be used in the same way as T as U
for numeric conversions. Read moresource§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