pub struct PaginationElement {
pub next_selector: Option<String>,
pub prev_selector: Option<String>,
pub page_numbers: Vec<String>,
pub total_pages: Option<usize>,
pub current_page: Option<usize>,
pub pagination_type: String,
}
Fields§
§next_selector: Option<String>
§prev_selector: Option<String>
§page_numbers: Vec<String>
§total_pages: Option<usize>
§current_page: Option<usize>
§pagination_type: String
Trait Implementations§
Source§impl Clone for PaginationElement
impl Clone for PaginationElement
Source§fn clone(&self) -> PaginationElement
fn clone(&self) -> PaginationElement
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 PaginationElement
impl Debug for PaginationElement
Source§impl<'de> Deserialize<'de> for PaginationElement
impl<'de> Deserialize<'de> for PaginationElement
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
Auto Trait Implementations§
impl Freeze for PaginationElement
impl RefUnwindSafe for PaginationElement
impl Send for PaginationElement
impl Sync for PaginationElement
impl Unpin for PaginationElement
impl UnwindSafe for PaginationElement
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