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
Fetch a specific page’s data.
Fields
§
page_number: PageNumberThe number of the page to fetch.
Trait Implementations§
impl Copy for Paging
impl Eq for Paging
impl StructuralPartialEq for Paging
Auto Trait Implementations§
impl Freeze for Paging
impl RefUnwindSafe for Paging
impl Send for Paging
impl Sync for Paging
impl Unpin for Paging
impl UnwindSafe for Paging
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.