pub struct PageBoundary { /* private fields */ }Expand description
Accepted page boundary returned to a caller.
Implementations§
Source§impl PageBoundary
impl PageBoundary
Sourcepub const fn metadata(self) -> PageMetadata
pub const fn metadata(self) -> PageMetadata
Returns the validated provider metadata.
Sourcepub const fn rate_limit(self) -> Option<RateLimit>
pub const fn rate_limit(self) -> Option<RateLimit>
Returns rate-limit metadata from this response when supplied.
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 PageBoundary
impl Clone for PageBoundary
Source§fn clone(&self) -> PageBoundary
fn clone(&self) -> PageBoundary
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 PageBoundary
Source§impl Debug for PageBoundary
impl Debug for PageBoundary
impl Eq for PageBoundary
Source§impl PartialEq for PageBoundary
impl PartialEq for PageBoundary
impl StructuralPartialEq for PageBoundary
Auto Trait Implementations§
impl Freeze for PageBoundary
impl RefUnwindSafe for PageBoundary
impl Send for PageBoundary
impl Sync for PageBoundary
impl Unpin for PageBoundary
impl UnsafeUnpin for PageBoundary
impl UnwindSafe for PageBoundary
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