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 FragmentDefinitionimpl Send for FragmentDefinitionimpl Sync for FragmentDefinitionimpl Unpin for FragmentDefinitionimpl UnwindSafe for FragmentDefinitionBlanket Implementations
Mutably borrows from an owned value. Read more