async_graphql::types::connection

Trait ConnectionNameType

source
pub trait ConnectionNameType: Send + Sync {
    // Required method
    fn type_name<T: OutputType>() -> String;
}
Expand description

Used to specify the connection name.

Required Methods§

source

fn type_name<T: OutputType>() -> String

Returns the connection type name.

Object Safety§

This trait is not object safe.

Implementors§