pub struct Cursors {
pub after: Option<String>,
pub before: Option<String>,
}Expand description
Cursor positions for cursor-based pagination.
Fields§
§after: Option<String>Cursor to the next page.
before: Option<String>Cursor to the previous page.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Cursors
impl<'de> Deserialize<'de> for Cursors
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 Cursors
impl RefUnwindSafe for Cursors
impl Send for Cursors
impl Sync for Cursors
impl Unpin for Cursors
impl UnwindSafe for Cursors
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