1
2
3
4
5
6
7
8
9
10
11
use crate::executable::SelectionSet;
use crate::VariableDirectives;

pub trait InlineFragment {
    type Directives: VariableDirectives;
    type SelectionSet: SelectionSet;

    fn type_condition(&self) -> Option<&str>;
    fn directives(&self) -> &Self::Directives;
    fn selection_set(&self) -> &Self::SelectionSet;
}