pub trait GraphqlType: Register {
    const NAME: &'static str;
}

Required Associated Constants§

source

const NAME: &'static str

Implementations on Foreign Types§

source§

impl<'a, T> GraphqlType for &'a Twhere
    T: GraphqlType + 'static,

source§

const NAME: &'static str = <T as GraphqlType>::NAME

source§

impl<T: OutputType + Clone + 'static> GraphqlType for Cow<'_, T>

source§

const NAME: &'static str = <T as GraphqlType>::NAME

source§

impl GraphqlType for String

source§

const NAME: &'static str = dynamic::TypeRef::STRING

source§

impl GraphqlType for &str

source§

const NAME: &'static str = dynamic::TypeRef::STRING

source§

impl GraphqlType for str

source§

const NAME: &'static str = dynamic::TypeRef::STRING

source§

impl GraphqlType for bool

source§

const NAME: &'static str = dynamic::TypeRef::BOOLEAN

source§

impl GraphqlType for f32

source§

const NAME: &'static str = dynamic::TypeRef::FLOAT

source§

impl GraphqlType for f64

source§

const NAME: &'static str = dynamic::TypeRef::FLOAT

source§

impl GraphqlType for i8

source§

const NAME: &'static str = dynamic::TypeRef::INT

source§

impl GraphqlType for i16

source§

const NAME: &'static str = dynamic::TypeRef::INT

source§

impl GraphqlType for i32

source§

const NAME: &'static str = dynamic::TypeRef::INT

source§

impl GraphqlType for i64

source§

const NAME: &'static str = dynamic::TypeRef::INT

source§

impl GraphqlType for isize

source§

const NAME: &'static str = dynamic::TypeRef::INT

source§

impl GraphqlType for u8

source§

const NAME: &'static str = dynamic::TypeRef::INT

source§

impl GraphqlType for u16

source§

const NAME: &'static str = dynamic::TypeRef::INT

source§

impl GraphqlType for u32

source§

const NAME: &'static str = dynamic::TypeRef::INT

source§

impl GraphqlType for u64

source§

const NAME: &'static str = dynamic::TypeRef::INT

source§

impl GraphqlType for usize

source§

const NAME: &'static str = dynamic::TypeRef::INT

Implementors§

source§

impl GraphqlType for ID

source§

const NAME: &'static str = dynamic::TypeRef::ID

source§

impl GraphqlType for Upload

source§

const NAME: &'static str = "Upload"

source§

impl<I> GraphqlType for Instance<'_, I>where
    I: Interface + 'static + ?Sized,

source§

const NAME: &'static str = <I as GraphqlType>::NAME