#[non_exhaustive]pub struct Pagination {
pub limit: Option<u32>,
pub returned: Option<u32>,
pub has_more: bool,
pub next_cursor: Option<String>,
}Expand description
Pagination of a search page.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.limit: Option<u32>Page size used.
returned: Option<u32>Articles on this page.
has_more: boolMore pages follow.
next_cursor: Option<String>Cursor for the next page; None at the end.
Trait Implementations§
Source§impl Clone for Pagination
impl Clone for Pagination
Source§impl Debug for Pagination
impl Debug for Pagination
Source§impl<'de> Deserialize<'de> for Pagination
impl<'de> Deserialize<'de> for Pagination
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Pagination
Source§impl PartialEq for Pagination
impl PartialEq for Pagination
Source§impl Serialize for Pagination
impl Serialize for Pagination
impl StructuralPartialEq for Pagination
Auto Trait Implementations§
impl Forget for Pagination
impl Freeze for Pagination
impl Move for Pagination
impl RefUnwindSafe for Pagination
impl Send for Paginationwhere
RawVecInner: Send,
impl Sync for Paginationwhere
RawVecInner: Sync,
impl Unpin for Pagination
impl UnsafeUnpin for Pagination
impl UnwindSafe for Paginationwhere
RawVecInner: 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