Struct async_graphql::dynamic::Subscription
source · pub struct Subscription { /* private fields */ }
Available on crate feature
dynamic-schema
only.Expand description
A GraphQL subscription type
Implementations§
source§impl Subscription
impl Subscription
sourcepub fn description(self, description: impl Into<String>) -> Self
pub fn description(self, description: impl Into<String>) -> Self
Set the description
sourcepub fn field(self, field: SubscriptionField) -> Self
pub fn field(self, field: SubscriptionField) -> Self
Add an field to the object
Trait Implementations§
source§impl Debug for Subscription
impl Debug for Subscription
source§impl From<Subscription> for Type
impl From<Subscription> for Type
source§fn from(subscription: Subscription) -> Self
fn from(subscription: Subscription) -> Self
Converts to this type from the input type.