pub struct InlineFragment<'schema> { /* private fields */ }Implementations§
Source§impl<'schema> InlineFragment<'schema>
impl<'schema> InlineFragment<'schema>
pub fn def_location(&self) -> &SourceLocation
pub fn directives(&self) -> &Vec<DirectiveAnnotation>
pub fn selection_set(&self) -> &SelectionSet<'schema>
pub fn type_condition( &self, schema: &'schema Schema, ) -> Option<&'schema GraphQLType>
pub fn type_condition_name(&self) -> Option<&str>
Trait Implementations§
Source§impl<'schema> Clone for InlineFragment<'schema>
impl<'schema> Clone for InlineFragment<'schema>
Source§fn clone(&self) -> InlineFragment<'schema>
fn clone(&self) -> InlineFragment<'schema>
Returns a duplicate 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<'schema> Debug for InlineFragment<'schema>
impl<'schema> Debug for InlineFragment<'schema>
Source§impl<'schema> PartialEq for InlineFragment<'schema>
impl<'schema> PartialEq for InlineFragment<'schema>
impl<'schema> StructuralPartialEq for InlineFragment<'schema>
Auto Trait Implementations§
impl<'schema> Freeze for InlineFragment<'schema>
impl<'schema> RefUnwindSafe for InlineFragment<'schema>
impl<'schema> Send for InlineFragment<'schema>
impl<'schema> Sync for InlineFragment<'schema>
impl<'schema> Unpin for InlineFragment<'schema>
impl<'schema> UnwindSafe for InlineFragment<'schema>
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