[−][src]Trait async_graphql::GQLOutputValue
Required methods
fn resolve<'life0, 'life1, 'life2, 'async_trait>(
value: &'life0 Self,
ctx: &'life1 ContextSelectionSet<'life2>
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
value: &'life0 Self,
ctx: &'life1 ContextSelectionSet<'life2>
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
Implementations on Foreign Types
impl GQLOutputValue for bool[src]
fn resolve<'life0, 'life1, 'life2, 'async_trait>(
value: &'life0 Self,
__arg1: &'life1 ContextSelectionSet<'life2>
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait, [src]
value: &'life0 Self,
__arg1: &'life1 ContextSelectionSet<'life2>
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
impl GQLOutputValue for f32[src]
fn resolve<'life0, 'life1, 'life2, 'async_trait>(
value: &'life0 Self,
__arg1: &'life1 ContextSelectionSet<'life2>
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait, [src]
value: &'life0 Self,
__arg1: &'life1 ContextSelectionSet<'life2>
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
impl GQLOutputValue for f64[src]
fn resolve<'life0, 'life1, 'life2, 'async_trait>(
value: &'life0 Self,
__arg1: &'life1 ContextSelectionSet<'life2>
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait, [src]
value: &'life0 Self,
__arg1: &'life1 ContextSelectionSet<'life2>
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
impl GQLOutputValue for i8[src]
fn resolve<'life0, 'life1, 'life2, 'async_trait>(
value: &'life0 Self,
__arg1: &'life1 ContextSelectionSet<'life2>
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait, [src]
value: &'life0 Self,
__arg1: &'life1 ContextSelectionSet<'life2>
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
impl GQLOutputValue for i16[src]
fn resolve<'life0, 'life1, 'life2, 'async_trait>(
value: &'life0 Self,
__arg1: &'life1 ContextSelectionSet<'life2>
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait, [src]
value: &'life0 Self,
__arg1: &'life1 ContextSelectionSet<'life2>
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
impl GQLOutputValue for i32[src]
fn resolve<'life0, 'life1, 'life2, 'async_trait>(
value: &'life0 Self,
__arg1: &'life1 ContextSelectionSet<'life2>
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait, [src]
value: &'life0 Self,
__arg1: &'life1 ContextSelectionSet<'life2>
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
impl GQLOutputValue for i64[src]
fn resolve<'life0, 'life1, 'life2, 'async_trait>(
value: &'life0 Self,
__arg1: &'life1 ContextSelectionSet<'life2>
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait, [src]
value: &'life0 Self,
__arg1: &'life1 ContextSelectionSet<'life2>
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
impl GQLOutputValue for u8[src]
fn resolve<'life0, 'life1, 'life2, 'async_trait>(
value: &'life0 Self,
__arg1: &'life1 ContextSelectionSet<'life2>
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait, [src]
value: &'life0 Self,
__arg1: &'life1 ContextSelectionSet<'life2>
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
impl GQLOutputValue for u16[src]
fn resolve<'life0, 'life1, 'life2, 'async_trait>(
value: &'life0 Self,
__arg1: &'life1 ContextSelectionSet<'life2>
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait, [src]
value: &'life0 Self,
__arg1: &'life1 ContextSelectionSet<'life2>
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
impl GQLOutputValue for u32[src]
fn resolve<'life0, 'life1, 'life2, 'async_trait>(
value: &'life0 Self,
__arg1: &'life1 ContextSelectionSet<'life2>
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait, [src]
value: &'life0 Self,
__arg1: &'life1 ContextSelectionSet<'life2>
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
impl GQLOutputValue for u64[src]
fn resolve<'life0, 'life1, 'life2, 'async_trait>(
value: &'life0 Self,
__arg1: &'life1 ContextSelectionSet<'life2>
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait, [src]
value: &'life0 Self,
__arg1: &'life1 ContextSelectionSet<'life2>
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
impl GQLOutputValue for String[src]
fn resolve<'life0, 'life1, 'life2, 'async_trait>(
value: &'life0 Self,
__arg1: &'life1 ContextSelectionSet<'life2>
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait, [src]
value: &'life0 Self,
__arg1: &'life1 ContextSelectionSet<'life2>
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
impl<'a> GQLOutputValue for &'a str[src]
fn resolve<'life0, 'life1, 'life2, 'async_trait>(
value: &'life0 Self,
__arg1: &'life1 ContextSelectionSet<'life2>
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait, [src]
value: &'life0 Self,
__arg1: &'life1 ContextSelectionSet<'life2>
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
impl GQLOutputValue for DateTime<Utc>[src]
fn resolve<'life0, 'life1, 'life2, 'async_trait>(
value: &'life0 Self,
__arg1: &'life1 ContextSelectionSet<'life2>
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait, [src]
value: &'life0 Self,
__arg1: &'life1 ContextSelectionSet<'life2>
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
impl GQLOutputValue for Uuid[src]
fn resolve<'life0, 'life1, 'life2, 'async_trait>(
value: &'life0 Self,
__arg1: &'life1 ContextSelectionSet<'life2>
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait, [src]
value: &'life0 Self,
__arg1: &'life1 ContextSelectionSet<'life2>
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
impl<T: GQLOutputValue + Send + Sync> GQLOutputValue for Vec<T>[src]
fn resolve<'life0, 'life1, 'life2, 'async_trait>(
value: &'life0 Self,
ctx: &'life1 ContextSelectionSet<'life2>
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait, [src]
value: &'life0 Self,
ctx: &'life1 ContextSelectionSet<'life2>
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
impl<'_, T: GQLOutputValue + Send + Sync> GQLOutputValue for &'_ [T][src]
fn resolve<'life0, 'life1, 'life2, 'async_trait>(
value: &'life0 Self,
ctx: &'life1 ContextSelectionSet<'life2>
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait, [src]
value: &'life0 Self,
ctx: &'life1 ContextSelectionSet<'life2>
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
impl<'_, T: GQLOutputValue + Send + Sync> GQLOutputValue for &'_ Vec<T>[src]
fn resolve<'life0, 'life1, 'life2, 'async_trait>(
value: &'life0 Self,
ctx: &'life1 ContextSelectionSet<'life2>
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait, [src]
value: &'life0 Self,
ctx: &'life1 ContextSelectionSet<'life2>
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
impl<T: GQLOutputValue + Sync> GQLOutputValue for Option<T>
fn resolve<'life0, 'life1, 'life2, 'async_trait>(
value: &'life0 Self,
ctx: &'life1 ContextSelectionSet<'life2>
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
value: &'life0 Self,
ctx: &'life1 ContextSelectionSet<'life2>
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
impl<'_, T: GQLOutputValue + Sync> GQLOutputValue for &'_ Option<T>
fn resolve<'life0, 'life1, 'life2, 'async_trait>(
value: &'life0 Self,
ctx: &'life1 ContextSelectionSet<'life2>
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
value: &'life0 Self,
ctx: &'life1 ContextSelectionSet<'life2>
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
Implementors
impl GQLOutputValue for ID[src]
fn resolve<'life0, 'life1, 'life2, 'async_trait>(
value: &'life0 Self,
__arg1: &'life1 ContextSelectionSet<'life2>
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait, [src]
value: &'life0 Self,
__arg1: &'life1 ContextSelectionSet<'life2>
) -> Pin<Box<dyn Future<Output = Result<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,