Struct fuel_gql_client::client::schema::PaginationRequest
source · [−]pub struct PaginationRequest<T> {
pub cursor: Option<T>,
pub results: usize,
pub direction: PageDirection,
}
Expand description
Used to parameterize paginated queries
Fields
cursor: Option<T>
The cursor returned from a previous query to indicate an offset
results: usize
The number of results to take
direction: PageDirection
The direction of the query (e.g. asc, desc order).
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl<T> RefUnwindSafe for PaginationRequest<T> where
T: RefUnwindSafe,
impl<T> Send for PaginationRequest<T> where
T: Send,
impl<T> Sync for PaginationRequest<T> where
T: Sync,
impl<T> Unpin for PaginationRequest<T> where
T: Unpin,
impl<T> UnwindSafe for PaginationRequest<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more