pub struct Page<T> {
pub items: Vec<T>,
pub has_more: bool,
pub total_count: Option<u64>,
}Available on crate feature
indexer only.Expand description
A paginated response.
Fields§
§items: Vec<T>The items in this page.
has_more: boolWhether there are more items.
total_count: Option<u64>Total count if available.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Page<T>
impl<T> RefUnwindSafe for Page<T>where
T: RefUnwindSafe,
impl<T> Send for Page<T>where
T: Send,
impl<T> Sync for Page<T>where
T: Sync,
impl<T> Unpin for Page<T>where
T: Unpin,
impl<T> UnwindSafe for Page<T>where
T: UnwindSafe,
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