pub struct SyncCursor {
pub page: usize,
}Expand description
Cursor for paginating through a provider’s result set.
The only currently used field is page (1-indexed per provider convention).
Providers may extend this struct with opaque tokens in future minor versions.
Fields§
§page: usizeCurrent page number (1-indexed, matching AniList/Jikan page numbering).
Trait Implementations§
Source§impl Clone for SyncCursor
impl Clone for SyncCursor
Source§fn clone(&self) -> SyncCursor
fn clone(&self) -> SyncCursor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SyncCursor
impl Debug for SyncCursor
Source§impl Default for SyncCursor
impl Default for SyncCursor
Source§impl<'de> Deserialize<'de> for SyncCursor
impl<'de> Deserialize<'de> for SyncCursor
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 SyncCursor
impl PartialEq for SyncCursor
Source§fn eq(&self, other: &SyncCursor) -> bool
fn eq(&self, other: &SyncCursor) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SyncCursor
impl Serialize for SyncCursor
impl Eq for SyncCursor
impl StructuralPartialEq for SyncCursor
Auto Trait Implementations§
impl Freeze for SyncCursor
impl RefUnwindSafe for SyncCursor
impl Send for SyncCursor
impl Sync for SyncCursor
impl Unpin for SyncCursor
impl UnsafeUnpin for SyncCursor
impl UnwindSafe for SyncCursor
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