[][src]Trait juniper::ExtractTypeFromStream

pub trait ExtractTypeFromStream<T, S> where
    S: ScalarValue
{ type Item: GraphQLValue<S>; }

This trait is used in juniper::graphql_subscription macro to get stream's item type that implements GraphQLValue from type alias provided by user.

Associated Types

type Item: GraphQLValue<S>[src]

Stream's return Value that will be returned if no errors occured. Is used to determine field type in #[juniper::graphql_subscription]

Loading content...

Implementors

Loading content...