Trait FieldDefinition

Source
pub trait FieldDefinition: HasDirectives {
    type ArgumentsDefinition: ArgumentsDefinition;
    type OutputType: OutputType;

    // Required methods
    fn description(&self) -> Option<&str>;
    fn name(&self) -> &str;
    fn arguments_definition(&self) -> Option<&Self::ArgumentsDefinition>;
    fn type(&self) -> &Self::OutputType;
    fn is_builtin(&self) -> bool;
}

Required Associated Types§

Required Methods§

Source

fn description(&self) -> Option<&str>

Source

fn name(&self) -> &str

Source

fn arguments_definition(&self) -> Option<&Self::ArgumentsDefinition>

Source

fn type(&self) -> &Self::OutputType

Source

fn is_builtin(&self) -> bool

Implementors§