[][src]Enum async_graphql::QueryOperation

pub enum QueryOperation<'a> {
    Forward {
        after: Option<&'a str>,
        limit: usize,
    },
    Backward {
        before: Option<&'a str>,
        limit: usize,
    },
}

Connection query operation

Variants

Forward

Forward query

Fields of Forward

after: Option<&'a str>

After this cursor

limit: usize

How many records did this query return

Backward

Backward query

Fields of Backward

before: Option<&'a str>

Before this cursor

limit: usize

How many records did this query return

Auto Trait Implementations

impl<'a> RefUnwindSafe for QueryOperation<'a>

impl<'a> Send for QueryOperation<'a>

impl<'a> Sync for QueryOperation<'a>

impl<'a> Unpin for QueryOperation<'a>

impl<'a> UnwindSafe for QueryOperation<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,