[][src]Struct async_graphql::connection::Edge

pub struct Edge<C, T, E> { /* fields omitted */ }

The edge type output by the data source

Implementations

impl<C, T, E> Edge<C, T, E>[src]

pub fn with_additional_fields(cursor: C, node: T, additional_fields: E) -> Self[src]

Create a new edge, it can have some additional fields.

impl<C: CursorType, T> Edge<C, T, EmptyFields>[src]

pub fn new(cursor: C, node: T) -> Self[src]

Create a new edge.

Trait Implementations

impl<C, T, E> Type for Edge<C, T, E> where
    C: CursorType,
    T: OutputValueType + Send + Sync,
    E: ObjectType + Sync + Send
[src]

Auto Trait Implementations

impl<C, T, E> RefUnwindSafe for Edge<C, T, E> where
    C: RefUnwindSafe,
    E: RefUnwindSafe,
    T: RefUnwindSafe

impl<C, T, E> Send for Edge<C, T, E> where
    C: Send,
    E: Send,
    T: Send

impl<C, T, E> Sync for Edge<C, T, E> where
    C: Sync,
    E: Sync,
    T: Sync

impl<C, T, E> Unpin for Edge<C, T, E> where
    C: Unpin,
    E: Unpin,
    T: Unpin

impl<C, T, E> UnwindSafe for Edge<C, T, E> where
    C: UnwindSafe,
    E: UnwindSafe,
    T: UnwindSafe

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>,