Struct graphql_tools::static_graphql::schema::DirectiveDefinition [−][src]
pub struct DirectiveDefinition<'a, T> where
T: Text<'a>, {
pub position: Pos,
pub description: Option<String>,
pub name: <T as Text<'a>>::Value,
pub arguments: Vec<InputValue<'a, T>, Global>,
pub repeatable: bool,
pub locations: Vec<DirectiveLocation, Global>,
}
Fields
position: Pos
description: Option<String>
name: <T as Text<'a>>::Value
arguments: Vec<InputValue<'a, T>, Global>
repeatable: bool
locations: Vec<DirectiveLocation, Global>
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for DirectiveDefinition<'a, T> where
<T as Text<'a>>::Value: RefUnwindSafe,
impl<'a, T> Send for DirectiveDefinition<'a, T> where
<T as Text<'a>>::Value: Send,
impl<'a, T> Sync for DirectiveDefinition<'a, T> where
<T as Text<'a>>::Value: Sync,
impl<'a, T> Unpin for DirectiveDefinition<'a, T> where
<T as Text<'a>>::Value: Unpin,
impl<'a, T> UnwindSafe for DirectiveDefinition<'a, T> where
<T as Text<'a>>::Value: UnwindSafe + RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more