pub struct DirectiveDefinition<'a> {
pub description: Option<StringValue<'a>>,
pub name: Name<'a>,
pub arguments: AstVec<'a, InputValueDefinition<'a>>,
pub repeatable: bool,
pub locations: AstVec<'a, DirectiveLocation<'a>>,
pub span: Span,
}Fields§
§description: Option<StringValue<'a>>§name: Name<'a>§arguments: AstVec<'a, InputValueDefinition<'a>>§repeatable: bool§locations: AstVec<'a, DirectiveLocation<'a>>§span: SpanTrait Implementations§
Source§impl<'a> Debug for DirectiveDefinition<'a>
impl<'a> Debug for DirectiveDefinition<'a>
Source§impl<'a> PartialEq for DirectiveDefinition<'a>
impl<'a> PartialEq for DirectiveDefinition<'a>
Source§fn eq(&self, other: &DirectiveDefinition<'a>) -> bool
fn eq(&self, other: &DirectiveDefinition<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> StructuralPartialEq for DirectiveDefinition<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for DirectiveDefinition<'a>
impl<'a> !Send for DirectiveDefinition<'a>
impl<'a> !Sync for DirectiveDefinition<'a>
impl<'a> !UnwindSafe for DirectiveDefinition<'a>
impl<'a> Freeze for DirectiveDefinition<'a>
impl<'a> Unpin for DirectiveDefinition<'a>
impl<'a> UnsafeUnpin for DirectiveDefinition<'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