Struct fuel_gql_client::client::schema::ConnectionArgs
source · pub struct ConnectionArgs {
pub after: Option<String>,
pub before: Option<String>,
pub first: Option<i32>,
pub last: Option<i32>,
}Expand description
Generic graphql pagination query args
Fields§
§after: Option<String>Skip until cursor (forward pagination)
before: Option<String>Skip until cursor (backward pagination)
first: Option<i32>Retrieve the first n items in order (forward pagination)
last: Option<i32>Retrieve the last n items in order (backward pagination).
Can’t be used at the same time as first.
Trait Implementations§
source§impl Debug for ConnectionArgs
impl Debug for ConnectionArgs
source§impl Default for ConnectionArgs
impl Default for ConnectionArgs
source§fn default() -> ConnectionArgs
fn default() -> ConnectionArgs
Returns the “default value” for a type. Read more
source§impl<T: Into<String>> From<PaginationRequest<T>> for ConnectionArgs
impl<T: Into<String>> From<PaginationRequest<T>> for ConnectionArgs
source§fn from(req: PaginationRequest<T>) -> Self
fn from(req: PaginationRequest<T>) -> Self
Converts to this type from the input type.
source§impl QueryVariables for ConnectionArgs
impl QueryVariables for ConnectionArgs
§type Fields = ConnectionArgsFields
type Fields = ConnectionArgsFields
A struct that determines which variables are available when using this struct.