Struct graphql_tools::static_graphql::query::FragmentDefinition
source · pub struct FragmentDefinition<'a, T>where
T: Text<'a>,{
pub position: Pos,
pub name: <T as Text<'a>>::Value,
pub type_condition: TypeCondition<'a, T>,
pub directives: Vec<Directive<'a, T>, Global>,
pub selection_set: SelectionSet<'a, T>,
}
Fields§
§position: Pos
§name: <T as Text<'a>>::Value
§type_condition: TypeCondition<'a, T>
§directives: Vec<Directive<'a, T>, Global>
§selection_set: SelectionSet<'a, T>
Trait Implementations§
source§impl<'a, T> Clone for FragmentDefinition<'a, T>where
T: Clone + Text<'a>,
<T as Text<'a>>::Value: Clone,
impl<'a, T> Clone for FragmentDefinition<'a, T>where
T: Clone + Text<'a>,
<T as Text<'a>>::Value: Clone,
source§fn clone(&self) -> FragmentDefinition<'a, T>
fn clone(&self) -> FragmentDefinition<'a, T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more