Trait bluejay_core::executable::FragmentDefinition

source ·
pub trait FragmentDefinition: Eq + Hash + Ord {
    type Directives: VariableDirectives;
    type SelectionSet: SelectionSet;

    // Required methods
    fn name(&self) -> &str;
    fn type_condition(&self) -> &str;
    fn directives(&self) -> &Self::Directives;
    fn selection_set(&self) -> &Self::SelectionSet;
}

Required Associated Types§

Required Methods§

source

fn name(&self) -> &str

source

fn type_condition(&self) -> &str

source

fn directives(&self) -> &Self::Directives

source

fn selection_set(&self) -> &Self::SelectionSet

Object Safety§

This trait is not object safe.

Implementors§