pub struct UnionTypeDefinitionSyntax<'src> {
pub equals: Option<GraphQLToken<'src>>,
pub leading_pipe: Option<GraphQLToken<'src>>,
pub pipes: Vec<GraphQLToken<'src>>,
pub union_keyword: GraphQLToken<'src>,
}Expand description
Syntax detail for a UnionTypeDefinition.
Fields§
§equals: Option<GraphQLToken<'src>>§leading_pipe: Option<GraphQLToken<'src>>§pipes: Vec<GraphQLToken<'src>>§union_keyword: GraphQLToken<'src>Trait Implementations§
Source§impl<'src> Clone for UnionTypeDefinitionSyntax<'src>
impl<'src> Clone for UnionTypeDefinitionSyntax<'src>
Source§fn clone(&self) -> UnionTypeDefinitionSyntax<'src>
fn clone(&self) -> UnionTypeDefinitionSyntax<'src>
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<'src> Debug for UnionTypeDefinitionSyntax<'src>
impl<'src> Debug for UnionTypeDefinitionSyntax<'src>
Source§impl<'src> PartialEq for UnionTypeDefinitionSyntax<'src>
impl<'src> PartialEq for UnionTypeDefinitionSyntax<'src>
Source§fn eq(&self, other: &UnionTypeDefinitionSyntax<'src>) -> bool
fn eq(&self, other: &UnionTypeDefinitionSyntax<'src>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'src> StructuralPartialEq for UnionTypeDefinitionSyntax<'src>
Auto Trait Implementations§
impl<'src> Freeze for UnionTypeDefinitionSyntax<'src>
impl<'src> RefUnwindSafe for UnionTypeDefinitionSyntax<'src>
impl<'src> Send for UnionTypeDefinitionSyntax<'src>
impl<'src> Sync for UnionTypeDefinitionSyntax<'src>
impl<'src> Unpin for UnionTypeDefinitionSyntax<'src>
impl<'src> UnsafeUnpin for UnionTypeDefinitionSyntax<'src>
impl<'src> UnwindSafe for UnionTypeDefinitionSyntax<'src>
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