pub struct PaginationState {
pub next_page_token: Option<String>,
}Fields§
§next_page_token: Option<String>Implementations§
Source§impl PaginationState
impl PaginationState
pub fn new() -> Self
pub fn update_from_response<T, R: PaginatedResponse<T>>(&mut self, response: &R)
pub fn has_more_pages(&self) -> bool
pub fn page_token(&self) -> Option<&str>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PaginationState
impl RefUnwindSafe for PaginationState
impl Send for PaginationState
impl Sync for PaginationState
impl Unpin for PaginationState
impl UnwindSafe for PaginationState
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