pub struct Cursor {
pub next: Option<String>,
pub skip: usize,
}Expand description
A pagination cursor that tracks position across Graph pages.
Encoded as base64(JSON) in the --page / next fields so agents
can resume exactly where they left off, even mid-page.
Fields§
§next: Option<String>The Graph URL to fetch next. None means the collection is exhausted.
skip: usizeNumber of items to skip at the beginning of the page returned by next.
Non-zero only when --limit cut off partway through a Graph page.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Cursor
impl<'de> Deserialize<'de> for Cursor
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 Cursor
impl RefUnwindSafe for Cursor
impl Send for Cursor
impl Sync for Cursor
impl Unpin for Cursor
impl UnsafeUnpin for Cursor
impl UnwindSafe for Cursor
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