Struct egg_mode::cursor::ListCursor
source · 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: i64
Numeric reference to the previous page of results.
next_cursor: i64
Numeric 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§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