Trait async_graphql::TypeName
source · pub trait TypeName: Send + Sync {
// Required method
fn type_name() -> Cow<'static, str>;
}
Expand description
Used to specify the GraphQL Type name.
pub trait TypeName: Send + Sync {
// Required method
fn type_name() -> Cow<'static, str>;
}
Used to specify the GraphQL Type name.