[][src]Trait async_graphql::GQLObject

pub trait GQLObject: GQLOutputValue {
    fn resolve_field<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        ctx: &'life1 Context<'life2>,
        field: &'life3 Field
    ) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
;
fn resolve_inline_fragment<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
        &'life0 self,
        name: &'life1 str,
        ctx: &'life2 ContextSelectionSet<'life3>,
        result: &'life4 mut Map<String, Value>
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        'life4: 'async_trait,
        Self: 'async_trait
; fn is_empty() -> bool { ... } }

Required methods

fn resolve_field<'life0, 'life1, 'life2, 'life3, 'async_trait>(
    &'life0 self,
    ctx: &'life1 Context<'life2>,
    field: &'life3 Field
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    'life2: 'async_trait,
    'life3: 'async_trait,
    Self: 'async_trait, 

fn resolve_inline_fragment<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
    &'life0 self,
    name: &'life1 str,
    ctx: &'life2 ContextSelectionSet<'life3>,
    result: &'life4 mut Map<String, Value>
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    'life2: 'async_trait,
    'life3: 'async_trait,
    'life4: 'async_trait,
    Self: 'async_trait, 

Loading content...

Provided methods

fn is_empty() -> bool

Loading content...

Implementors

impl GQLObject for GQLEmptyMutation[src]

Loading content...