pub enum PaginationType {
Numbered,
NextPrev,
InfiniteScroll,
LoadMore,
Cursor,
Offset,
None,
}Expand description
Type of pagination detected
Variants§
Numbered
Standard numbered pagination (1, 2, 3…)
NextPrev
Next/Previous only
InfiniteScroll
Infinite scroll
LoadMore
Load more button
Cursor
Cursor-based pagination
Offset
Offset-based pagination
None
Unknown or no pagination
Trait Implementations§
Source§impl Clone for PaginationType
impl Clone for PaginationType
Source§fn clone(&self) -> PaginationType
fn clone(&self) -> PaginationType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PaginationType
impl Debug for PaginationType
Source§impl Default for PaginationType
impl Default for PaginationType
Source§fn default() -> PaginationType
fn default() -> PaginationType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PaginationType
impl<'de> Deserialize<'de> for PaginationType
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
Source§impl PartialEq for PaginationType
impl PartialEq for PaginationType
Source§impl Serialize for PaginationType
impl Serialize for PaginationType
impl Copy for PaginationType
impl Eq for PaginationType
impl StructuralPartialEq for PaginationType
Auto Trait Implementations§
impl Freeze for PaginationType
impl RefUnwindSafe for PaginationType
impl Send for PaginationType
impl Sync for PaginationType
impl Unpin for PaginationType
impl UnwindSafe for PaginationType
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