Struct fuel_core_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.
source§impl Serialize for ConnectionArgs
impl Serialize for ConnectionArgs
impl VariableMatch<ConnectionArgs> for ConnectionArgs
Auto Trait Implementations§
impl RefUnwindSafe for ConnectionArgs
impl Send for ConnectionArgs
impl Sync for ConnectionArgs
impl Unpin for ConnectionArgs
impl UnwindSafe for ConnectionArgs
Blanket Implementations§
§impl<T> AnyDebug for Twhere
T: Any + Debug,
impl<T> AnyDebug for Twhere T: Any + Debug,
§fn as_any_ref(&self) -> &(dyn Any + 'static)
fn as_any_ref(&self) -> &(dyn Any + 'static)
Returns a reference to the underlying type as
Any
.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