Struct graphql_parser::query::InlineFragment
source · pub struct InlineFragment<'a, T: Text<'a>> {
pub position: Pos,
pub type_condition: Option<TypeCondition<'a, T>>,
pub directives: Vec<Directive<'a, T>>,
pub selection_set: SelectionSet<'a, T>,
}
Fields§
§position: Pos
§type_condition: Option<TypeCondition<'a, T>>
§directives: Vec<Directive<'a, T>>
§selection_set: SelectionSet<'a, T>
Trait Implementations§
source§impl<'a, T: Clone + Text<'a>> Clone for InlineFragment<'a, T>
impl<'a, T: Clone + Text<'a>> Clone for InlineFragment<'a, T>
source§fn clone(&self) -> InlineFragment<'a, T>
fn clone(&self) -> InlineFragment<'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 InlineFragment<'a, T>where
T: Text<'a>,
impl<'a, T> Display for InlineFragment<'a, T>where T: Text<'a>,
source§impl<'a, T: PartialEq + Text<'a>> PartialEq for InlineFragment<'a, T>
impl<'a, T: PartialEq + Text<'a>> PartialEq for InlineFragment<'a, T>
source§fn eq(&self, other: &InlineFragment<'a, T>) -> bool
fn eq(&self, other: &InlineFragment<'a, T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a, T: Text<'a>> StructuralPartialEq for InlineFragment<'a, T>
Auto Trait Implementations§
impl<'a, T> RefUnwindSafe for InlineFragment<'a, T>where <T as Text<'a>>::Value: RefUnwindSafe,
impl<'a, T> Send for InlineFragment<'a, T>where <T as Text<'a>>::Value: Send,
impl<'a, T> Sync for InlineFragment<'a, T>where <T as Text<'a>>::Value: Sync,
impl<'a, T> Unpin for InlineFragment<'a, T>where <T as Text<'a>>::Value: Unpin,
impl<'a, T> UnwindSafe for InlineFragment<'a, T>where <T as Text<'a>>::Value: UnwindSafe,
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