OutputType

Trait OutputType 

Source
pub trait OutputType: Send + Sync {
    // Required methods
    fn type_name() -> Cow<'static, str>;
    fn create_type_info(registry: &mut Registry) -> String;
    fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        ctx: &'life1 ContextSelectionSet<'life2>,
        field: &'life3 Positioned<Field>,
    ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait;

    // Provided methods
    fn qualified_type_name() -> String { ... }
    fn introspection_type_name(&self) -> Cow<'static, str> { ... }
}
Expand description

Represents a GraphQL output type.

Required Methods§

Source

fn type_name() -> Cow<'static, str>

Type the name.

Source

fn create_type_info(registry: &mut Registry) -> String

Create type information in the registry and return qualified typename.

Source

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

Available on crate feature boxed-trait only.

Resolve an output value to async_graphql::Value.

Provided Methods§

Source

fn qualified_type_name() -> String

Qualified typename.

Source

fn introspection_type_name(&self) -> Cow<'static, str>

Introspection type name

Is the return value of field __typename, the interface and union should return the current type, and the others return Type::type_name.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl OutputType for Bson

Available on crate feature bson only.
Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for Tz

Available on crate feature chrono-tz only.
Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for Value

Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _ctx: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for bool

Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for char

Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for f32

Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for f64

Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for i8

Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for i16

Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for i32

Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for i64

Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for isize

Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for str

Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for u8

Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for u16

Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for u32

Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for u64

Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for usize

Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for String

Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for BigDecimal

Available on crate feature bigdecimal only.
Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for DateTime

Available on crate feature bson only.
Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for Document

Available on crate feature bson only.
Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for ObjectId

Available on crate feature bson only.
Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for Uuid

Available on crate feature bson only.
Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for Bytes

Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for DateTime<FixedOffset>

Available on crate feature chrono only.
Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for DateTime<Local>

Available on crate feature chrono only.
Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for DateTime<Utc>

Available on crate feature chrono only.
Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for NaiveDate

Available on crate feature chrono only.
Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for NaiveDateTime

Available on crate feature chrono only.
Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for NaiveTime

Available on crate feature chrono only.
Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for Decimal

Available on crate feature decimal only.
Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for SmolStr

Available on crate feature smol_str only.
Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for Date

Available on crate feature time only.
Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for OffsetDateTime

Available on crate feature time only.
Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for PrimitiveDateTime

Available on crate feature time only.
Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for Url

Available on crate feature url only.
Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for Uuid

Available on crate feature uuid only.
Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for NonZeroI8

Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for NonZeroI16

Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for NonZeroI32

Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for NonZeroI64

Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for NonZeroIsize

Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for NonZeroU8

Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for NonZeroU16

Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for NonZeroU32

Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for NonZeroU64

Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for NonZeroUsize

Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl OutputType for Duration

Available on crate feature chrono-duration only.
Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl<'a, T: OutputType + 'a> OutputType for &'a [T]

Source§

fn type_name() -> Cow<'static, str>

Source§

fn qualified_type_name() -> String

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

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

Available on crate feature boxed-trait only.
Source§

impl<K, V> OutputType for BTreeMap<K, V>
where K: ToString + Ord + Send + Sync, V: Serialize + Send + Sync,

Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _ctx: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl<K, V> OutputType for HashMap<K, V>
where K: ToString + Eq + Hash + Send + Sync, V: Serialize + Send + Sync,

Available on crate feature hashbrown only.
Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _ctx: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl<K, V, S> OutputType for HashMap<K, V, S>
where K: ToString + Eq + Hash + Send + Sync, V: Serialize + Send + Sync, S: Send + Sync,

Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, _ctx: &'life1 ContextSelectionSet<'life2>, _field: &'life3 Positioned<Field>, ) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Available on crate feature boxed-trait only.
Source§

impl<T> OutputType for Cow<'_, T>
where T: OutputType + ToOwned + ?Sized, <T as ToOwned>::Owned: Send + Sync,

Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

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

Available on crate feature boxed-trait only.
Source§

impl<T: OutputType + Ord> OutputType for BTreeSet<T>

Source§

fn type_name() -> Cow<'static, str>

Source§

fn qualified_type_name() -> String

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

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

Available on crate feature boxed-trait only.
Source§

impl<T: OutputType + Hash + Eq> OutputType for HashSet<T>

Source§

fn type_name() -> Cow<'static, str>

Source§

fn qualified_type_name() -> String

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

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

Available on crate feature boxed-trait only.
Source§

impl<T: OutputType + Hash + Eq> OutputType for HashSet<T>

Available on crate feature hashbrown only.
Source§

fn type_name() -> Cow<'static, str>

Source§

fn qualified_type_name() -> String

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

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

Available on crate feature boxed-trait only.
Source§

impl<T: OutputType + Sync> OutputType for Option<T>

Source§

fn type_name() -> Cow<'static, str>

Source§

fn qualified_type_name() -> String

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

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

Available on crate feature boxed-trait only.
Source§

impl<T: OutputType + ?Sized> OutputType for &T

Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

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

Available on crate feature boxed-trait only.
Source§

impl<T: OutputType + ?Sized> OutputType for Box<T>

Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

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

Available on crate feature boxed-trait only.
Source§

impl<T: OutputType + ?Sized> OutputType for Arc<T>

Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

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

Available on crate feature boxed-trait only.
Source§

impl<T: OutputType + ?Sized> OutputType for Weak<T>

Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

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

Available on crate feature boxed-trait only.
Source§

impl<T: OutputType> OutputType for Box<[T]>

Source§

fn type_name() -> Cow<'static, str>

Source§

fn qualified_type_name() -> String

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

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

Available on crate feature boxed-trait only.
Source§

impl<T: OutputType> OutputType for LinkedList<T>

Source§

fn type_name() -> Cow<'static, str>

Source§

fn qualified_type_name() -> String

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

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

Available on crate feature boxed-trait only.
Source§

impl<T: OutputType> OutputType for VecDeque<T>

Source§

fn type_name() -> Cow<'static, str>

Source§

fn qualified_type_name() -> String

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

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

Available on crate feature boxed-trait only.
Source§

impl<T: OutputType> OutputType for Arc<[T]>

Source§

fn type_name() -> Cow<'static, str>

Source§

fn qualified_type_name() -> String

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

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

Available on crate feature boxed-trait only.
Source§

impl<T: OutputType> OutputType for Vec<T>

Source§

fn type_name() -> Cow<'static, str>

Source§

fn qualified_type_name() -> String

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

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

Available on crate feature boxed-trait only.
Source§

impl<T: OutputType> OutputType for Mutex<T>

Available on crate feature tokio-sync only.
Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

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

Available on crate feature boxed-trait only.
Source§

impl<T: OutputType> OutputType for RwLock<T>

Available on crate feature tokio-sync only.
Source§

fn type_name() -> Cow<'static, str>

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

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

Available on crate feature boxed-trait only.
Source§

impl<T: OutputType, const N: usize> OutputType for [T; N]

Source§

fn type_name() -> Cow<'static, str>

Source§

fn qualified_type_name() -> String

Source§

fn create_type_info(registry: &mut Registry) -> String

Source§

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

Available on crate feature boxed-trait only.

Implementors§

Source§

impl OutputType for EmptyFields

Source§

impl OutputType for PageInfo

Source§

impl OutputType for Any

Source§

impl OutputType for EmptyMutation

Source§

impl OutputType for ID

Source§

impl<Cursor, Node, ConnectionFields, EdgeFields, Name, EdgeName> OutputType for Connection<Cursor, Node, ConnectionFields, EdgeFields, Name, EdgeName, DisableNodesField>
where Cursor: CursorType + Send + Sync, Node: OutputType, ConnectionFields: ObjectType, EdgeFields: ObjectType, Name: ConnectionNameType, EdgeName: EdgeNameType,

Source§

impl<Cursor, Node, ConnectionFields, EdgeFields, Name, EdgeName> OutputType for Connection<Cursor, Node, ConnectionFields, EdgeFields, Name, EdgeName, EnableNodesField>
where Cursor: CursorType + Send + Sync, Node: OutputType, ConnectionFields: ObjectType, EdgeFields: ObjectType, Name: ConnectionNameType, EdgeName: EdgeNameType,

Source§

impl<Cursor, Node, EdgeFields, Name> OutputType for Edge<Cursor, Node, EdgeFields, Name>
where Cursor: CursorType + Send + Sync, Node: OutputType, EdgeFields: ObjectType, Name: EdgeNameType,

Source§

impl<T: Num + Display + Send + Sync> OutputType for StringNumber<T>
where <T as Num>::FromStrRadixErr: Display,

Available on crate feature string_number only.
Source§

impl<T: Serialize + Send + Sync> OutputType for Json<T>

Source§

impl<T: OutputType + Sync, E: Into<Error> + Send + Sync + Clone> OutputType for Result<T, E>