Struct ckb_jsonrpc_types::IndexerPagination
source · pub struct IndexerPagination<T> {
pub objects: Vec<T>,
pub last_cursor: JsonBytes,
}
Expand description
IndexerPagination wraps objects array and last_cursor to provide paging
Fields§
§objects: Vec<T>
objects collection
last_cursor: JsonBytes
pagination parameter
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> RefUnwindSafe for IndexerPagination<T>where
T: RefUnwindSafe,
impl<T> Send for IndexerPagination<T>where
T: Send,
impl<T> Sync for IndexerPagination<T>where
T: Sync,
impl<T> Unpin for IndexerPagination<T>where
T: Unpin,
impl<T> UnwindSafe for IndexerPagination<T>where
T: UnwindSafe,
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