Struct async_graphql_parser::types::FragmentDefinition [−][src]
pub struct FragmentDefinition {
pub type_condition: Positioned<TypeCondition>,
pub directives: Vec<Positioned<Directive>>,
pub selection_set: Positioned<SelectionSet>,
}
Expand description
The definition of a fragment, such as fragment userFields on User { name age }
.
Fields
type_condition: Positioned<TypeCondition>
The type this fragment operates on.
directives: Vec<Positioned<Directive>>
Directives in the fragment.
selection_set: Positioned<SelectionSet>
The fragment’s selection set.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FragmentDefinition
impl Send for FragmentDefinition
impl Sync for FragmentDefinition
impl Unpin for FragmentDefinition
impl UnwindSafe for FragmentDefinition
Blanket Implementations
Mutably borrows from an owned value. Read more