pub trait SubscriptionType: Send + Sync {
    fn type_name() -> Cow<'static, str>;
    fn create_type_info(registry: &mut Registry) -> String;

    fn qualified_type_name() -> String { ... }
}
Expand description

A GraphQL subscription object

Required Methods

Type the name.

Create type information in the registry and return qualified typename.

Provided Methods

Qualified typename.

Implementations on Foreign Types

Implementors