pub struct NumberedPageObservation<'snapshot> { /* private fields */ }Expand description
One decoded numbered-page response supplied to a pager driver.
Implementations§
Source§impl<'snapshot> NumberedPageObservation<'snapshot>
impl<'snapshot> NumberedPageObservation<'snapshot>
Sourcepub const fn new(
metadata: NumberedPageMetadata,
entries: usize,
rate_limit: Option<RateLimit>,
snapshot: Option<SnapshotId<'snapshot>>,
) -> Self
pub const fn new( metadata: NumberedPageMetadata, entries: usize, rate_limit: Option<RateLimit>, snapshot: Option<SnapshotId<'snapshot>>, ) -> Self
Groups one complete decoded response observation.
Trait Implementations§
Source§impl<'snapshot> Clone for NumberedPageObservation<'snapshot>
impl<'snapshot> Clone for NumberedPageObservation<'snapshot>
Source§fn clone(&self) -> NumberedPageObservation<'snapshot>
fn clone(&self) -> NumberedPageObservation<'snapshot>
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<'snapshot> Copy for NumberedPageObservation<'snapshot>
Source§impl<'snapshot> Debug for NumberedPageObservation<'snapshot>
impl<'snapshot> Debug for NumberedPageObservation<'snapshot>
impl<'snapshot> Eq for NumberedPageObservation<'snapshot>
Source§impl<'snapshot> PartialEq for NumberedPageObservation<'snapshot>
impl<'snapshot> PartialEq for NumberedPageObservation<'snapshot>
impl<'snapshot> StructuralPartialEq for NumberedPageObservation<'snapshot>
Auto Trait Implementations§
impl<'snapshot> Freeze for NumberedPageObservation<'snapshot>
impl<'snapshot> RefUnwindSafe for NumberedPageObservation<'snapshot>
impl<'snapshot> Send for NumberedPageObservation<'snapshot>
impl<'snapshot> Sync for NumberedPageObservation<'snapshot>
impl<'snapshot> Unpin for NumberedPageObservation<'snapshot>
impl<'snapshot> UnsafeUnpin for NumberedPageObservation<'snapshot>
impl<'snapshot> UnwindSafe for NumberedPageObservation<'snapshot>
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