pub struct ListCursor {
pub previous_cursor: i64,
pub next_cursor: i64,
pub lists: Vec<List>,
}Expand description
Represents a single-page view into a list of lists.
This type is intended to be used in the background by CursorIter to hold an intermediate
list of lists to iterate over. See that struct’s documentation for details.
Fields§
§previous_cursor: i64Numeric reference to the previous page of results.
next_cursor: i64Numeric reference to the next page of results.
lists: Vec<List>The list of lists in this page of results.
Trait Implementations§
Source§impl Cursor for ListCursor
impl Cursor for ListCursor
Source§fn previous_cursor_id(&self) -> i64
fn previous_cursor_id(&self) -> i64
Returns a numeric reference to the previous page of results.
Source§fn next_cursor_id(&self) -> i64
fn next_cursor_id(&self) -> i64
Returns a numeric reference to the next page of results.
Source§fn into_inner(self) -> Vec<Self::Item>
fn into_inner(self) -> Vec<Self::Item>
Unwraps the cursor, returning the collection of results from inside.
Source§impl<'de> Deserialize<'de> for ListCursor
impl<'de> Deserialize<'de> for ListCursor
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 ListCursor
impl RefUnwindSafe for ListCursor
impl Send for ListCursor
impl Sync for ListCursor
impl Unpin for ListCursor
impl UnwindSafe for ListCursor
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