[−][src]Enum async_graphql::QueryOperation
pub enum QueryOperation { None, After { after: Cursor, }, Before { before: Cursor, }, Between { after: Cursor, before: Cursor, }, First { limit: usize, }, FirstAfter { limit: usize, after: Cursor, }, FirstBefore { limit: usize, before: Cursor, }, FirstBetween { limit: usize, after: Cursor, before: Cursor, }, Last { limit: usize, }, LastAfter { limit: usize, after: Cursor, }, LastBefore { limit: usize, before: Cursor, }, LastBetween { limit: usize, after: Cursor, before: Cursor, }, Invalid, }
Connection query operation
Variants
Return all results
Return all results after the cursor
Fields of After
after: Cursor
After this cursor
Return all results before the cursor
Fields of Before
before: Cursor
Before this cursor
Return all results between the cursors
Return the amount of results specified by limit
, starting from the beginning
Fields of First
limit: usize
The maximum amount of results to return
Return the amount of results specified by limit
, starting after the cursor
Fields of FirstAfter
Return the amount of results specified by limit
, starting from the beginning but ending before the cursor
Fields of FirstBefore
Return the amount of results specified by limit
, but between the cursors. Limit includes beginning results.
Fields of FirstBetween
Return the amount of results specified by limit
, but before the end
Fields of Last
limit: usize
The maximum amount of results to return
Return the amount of results specified by limit
, but before the end. Must not include anything before the cursor.
Fields of LastAfter
Return the amount of results specified by limit
, but before the cursor
Fields of LastBefore
Return the amount of results specified by limit
, but between the cursors. Limit includes ending results.
Fields of LastBetween
An invalid query was made. For example: sending first
and last
in the same query
Auto Trait Implementations
impl RefUnwindSafe for QueryOperation
impl Send for QueryOperation
impl Sync for QueryOperation
impl Unpin for QueryOperation
impl UnwindSafe for QueryOperation
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[+]
V: MultiLane<T>,