FragmentDefinition

Trait FragmentDefinition 

Source
pub trait FragmentDefinition: Indexable {
    type Directives: VariableDirectives;
    type SelectionSet: SelectionSet;

    // Required methods
    fn name(&self) -> &str;
    fn type_condition(&self) -> &str;
    fn directives(&self) -> Option<&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) -> Option<&Self::Directives>

Source

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

Implementors§