Enum tendermint_rpc::Paging [−][src]
pub enum Paging {
Default,
All,
Specific {
page_number: PageNumber,
per_page: PerPage,
},
}
Expand description
Pagination control for those RPC client methods supporting pagination.
Variants
Default
No explicit options set - use whatever the endpoint’s defaults are.
All
Try to automatically fetch all pages’ data.
Specific
Fields
page_number: PageNumber
The number of the page to fetch.
per_page: PerPage
The number of items to fetch per page.
Fetch a specific page’s data.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Paging
impl UnwindSafe for Paging
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more