Trait cynic::schema::Field

source ·
pub trait Field {
    type Type;

    const NAME: &'static str;
}
Expand description

Indicates that a struct represents a Field in a graphql schema.

Required Associated Types§

source

type Type

The schema marker type of this field.

Required Associated Constants§

source

const NAME: &'static str

the name of this field

Object Safety§

This trait is not object safe.

Implementors§