pub struct Directives<'a> {
pub children: Vec<'a, Directive<'a>>,
}
Expand description
AST Node for lists of GraphQL Directives, which provide a way to describe alternate behavior in GraphQL.
Typical directives that occur in queries are for example @skip
, @include, and
@defer`.
Reference
Fields§
§children: Vec<'a, Directive<'a>>
Implementations§
Trait Implementations§
Source§impl<'a> Clone for Directives<'a>
impl<'a> Clone for Directives<'a>
Source§fn clone(&self) -> Directives<'a>
fn clone(&self) -> Directives<'a>
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> Debug for Directives<'a>
impl<'a> Debug for Directives<'a>
Source§impl<'a> DefaultIn<'a> for Directives<'a>
impl<'a> DefaultIn<'a> for Directives<'a>
fn default_in(arena: &'a Bump) -> Self
Source§impl<'a> IntoIterator for Directives<'a>
impl<'a> IntoIterator for Directives<'a>
Source§impl<'a> PartialEq for Directives<'a>
impl<'a> PartialEq for Directives<'a>
Source§impl<'a> PrintNode for Directives<'a>
impl<'a> PrintNode for Directives<'a>
impl<'a> StructuralPartialEq for Directives<'a>
Auto Trait Implementations§
impl<'a> Freeze for Directives<'a>
impl<'a> !RefUnwindSafe for Directives<'a>
impl<'a> !Send for Directives<'a>
impl<'a> !Sync for Directives<'a>
impl<'a> Unpin for Directives<'a>
impl<'a> !UnwindSafe for Directives<'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