bluejay_core/executable/inline_fragment.rs
1use crate::executable::SelectionSet;
2use crate::VariableDirectives;
3
4pub trait InlineFragment {
5 type Directives: VariableDirectives;
6 type SelectionSet: SelectionSet;
7
8 fn type_condition(&self) -> Option<&str>;
9 fn directives(&self) -> Option<&Self::Directives>;
10 fn selection_set(&self) -> &Self::SelectionSet;
11}