pub struct FragmentDefinition<'a> {
pub description: Option<StringValue<'a>>,
pub name: Name<'a>,
pub variable_definitions: AstVec<'a, VariableDefinition<'a>>,
pub type_condition: NamedType<'a>,
pub directives: AstVec<'a, Directive<'a>>,
pub selection_set: Option<SelectionSet<'a>>,
pub span: Span,
}Fields§
§description: Option<StringValue<'a>>§name: Name<'a>§variable_definitions: AstVec<'a, VariableDefinition<'a>>§type_condition: NamedType<'a>§directives: AstVec<'a, Directive<'a>>§selection_set: Option<SelectionSet<'a>>§span: SpanTrait Implementations§
Source§impl<'a> Debug for FragmentDefinition<'a>
impl<'a> Debug for FragmentDefinition<'a>
Source§impl<'a> PartialEq for FragmentDefinition<'a>
impl<'a> PartialEq for FragmentDefinition<'a>
Source§fn eq(&self, other: &FragmentDefinition<'a>) -> bool
fn eq(&self, other: &FragmentDefinition<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> StructuralPartialEq for FragmentDefinition<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for FragmentDefinition<'a>
impl<'a> !Send for FragmentDefinition<'a>
impl<'a> !Sync for FragmentDefinition<'a>
impl<'a> !UnwindSafe for FragmentDefinition<'a>
impl<'a> Freeze for FragmentDefinition<'a>
impl<'a> Unpin for FragmentDefinition<'a>
impl<'a> UnsafeUnpin for FragmentDefinition<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more