pub struct NumberedPageBoundary { /* private fields */ }Expand description
Accepted numbered-page boundary.
Implementations§
Source§impl NumberedPageBoundary
impl NumberedPageBoundary
Sourcepub const fn metadata(self) -> NumberedPageMetadata
pub const fn metadata(self) -> NumberedPageMetadata
Returns validated provider metadata.
Sourcepub const fn rate_limit(self) -> Option<RateLimit>
pub const fn rate_limit(self) -> Option<RateLimit>
Returns rate-limit metadata when supplied.
Sourcepub const fn progress(self) -> PaginationProgress
pub const fn progress(self) -> PaginationProgress
Returns traversal counters after this page.
Sourcepub const fn is_terminal(self) -> bool
pub const fn is_terminal(self) -> bool
Reports whether this page ended iteration.
Trait Implementations§
Source§impl Clone for NumberedPageBoundary
impl Clone for NumberedPageBoundary
Source§fn clone(&self) -> NumberedPageBoundary
fn clone(&self) -> NumberedPageBoundary
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 moreimpl Copy for NumberedPageBoundary
Source§impl Debug for NumberedPageBoundary
impl Debug for NumberedPageBoundary
impl Eq for NumberedPageBoundary
Source§impl PartialEq for NumberedPageBoundary
impl PartialEq for NumberedPageBoundary
impl StructuralPartialEq for NumberedPageBoundary
Auto Trait Implementations§
impl Freeze for NumberedPageBoundary
impl RefUnwindSafe for NumberedPageBoundary
impl Send for NumberedPageBoundary
impl Sync for NumberedPageBoundary
impl Unpin for NumberedPageBoundary
impl UnsafeUnpin for NumberedPageBoundary
impl UnwindSafe for NumberedPageBoundary
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