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