Struct graphql_parser::query::FragmentSpread
source · pub struct FragmentSpread<'a, T: Text<'a>> {
pub position: Pos,
pub fragment_name: T::Value,
pub directives: Vec<Directive<'a, T>>,
}
Fields§
§position: Pos
§fragment_name: T::Value
§directives: Vec<Directive<'a, T>>
Trait Implementations§
source§impl<'a, T: Clone + Text<'a>> Clone for FragmentSpread<'a, T>where
T::Value: Clone,
impl<'a, T: Clone + Text<'a>> Clone for FragmentSpread<'a, T>where T::Value: Clone,
source§fn clone(&self) -> FragmentSpread<'a, T>
fn clone(&self) -> FragmentSpread<'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 moresource§impl<'a, T> Display for FragmentSpread<'a, T>where
T: Text<'a>,
impl<'a, T> Display for FragmentSpread<'a, T>where T: Text<'a>,
source§impl<'a, T: PartialEq + Text<'a>> PartialEq<FragmentSpread<'a, T>> for FragmentSpread<'a, T>where
T::Value: PartialEq,
impl<'a, T: PartialEq + Text<'a>> PartialEq<FragmentSpread<'a, T>> for FragmentSpread<'a, T>where T::Value: PartialEq,
source§fn eq(&self, other: &FragmentSpread<'a, T>) -> bool
fn eq(&self, other: &FragmentSpread<'a, T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.