Struct egg_mode::cursor::IDCursor[][src]

pub struct IDCursor {
    pub previous_cursor: i64,
    pub next_cursor: i64,
    pub ids: Vec<u64>,
}
Expand description

Represents a single-page view into a list of IDs.

This type is intended to be used in the background by CursorIter to hold an intermediate list of IDs 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.

ids: Vec<u64>

The list of user IDs in this page of results.

Trait Implementations

What type is being returned by the API call?

Returns a numeric reference to the previous page of results.

Returns a numeric reference to the next page of results.

Unwraps the cursor, returning the collection of results from inside.

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.