Trait juniper::ExtractTypeFromStream [−][src]
pub trait ExtractTypeFromStream<T, S> where
S: ScalarValue, { type Item: GraphQLValue<S>; }
Expand description
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]
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]