pub struct HostDeliveryPage { /* private fields */ }Expand description
One page of the ledger, in identifier order.
Implementations§
Source§impl HostDeliveryPage
impl HostDeliveryPage
pub const fn new( records: Vec<HostDeliveryRecord>, next_cursor: Option<HostDeliveryId>, ) -> Self
pub fn records(&self) -> &[HostDeliveryRecord]
pub fn into_records(self) -> Vec<HostDeliveryRecord>
Sourcepub const fn next_cursor(&self) -> Option<&HostDeliveryId>
pub const fn next_cursor(&self) -> Option<&HostDeliveryId>
Where to continue, when there is more.
Trait Implementations§
Source§impl Clone for HostDeliveryPage
impl Clone for HostDeliveryPage
Source§impl Debug for HostDeliveryPage
impl Debug for HostDeliveryPage
Source§impl Default for HostDeliveryPage
impl Default for HostDeliveryPage
impl Eq for HostDeliveryPage
Source§impl PartialEq for HostDeliveryPage
impl PartialEq for HostDeliveryPage
impl StructuralPartialEq for HostDeliveryPage
Auto Trait Implementations§
impl Freeze for HostDeliveryPage
impl RefUnwindSafe for HostDeliveryPage
impl Send for HostDeliveryPage
impl Sync for HostDeliveryPage
impl Unpin for HostDeliveryPage
impl UnsafeUnpin for HostDeliveryPage
impl UnwindSafe for HostDeliveryPage
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