Struct graphql_tools::static_graphql::schema::SchemaDefinition
source ·
[−]pub struct SchemaDefinition<'a, T> where
T: Text<'a>, {
pub position: Pos,
pub directives: Vec<Directive<'a, T>, Global>,
pub query: Option<<T as Text<'a>>::Value>,
pub mutation: Option<<T as Text<'a>>::Value>,
pub subscription: Option<<T as Text<'a>>::Value>,
}
Fields
position: Pos
directives: Vec<Directive<'a, T>, Global>
query: Option<<T as Text<'a>>::Value>
mutation: Option<<T as Text<'a>>::Value>
subscription: Option<<T as Text<'a>>::Value>
Trait Implementations
Returns the “default value” for a type. Read more
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 SchemaDefinition<'a, T> where
<T as Text<'a>>::Value: RefUnwindSafe,
impl<'a, T> Send for SchemaDefinition<'a, T> where
<T as Text<'a>>::Value: Send,
impl<'a, T> Sync for SchemaDefinition<'a, T> where
<T as Text<'a>>::Value: Sync,
impl<'a, T> Unpin for SchemaDefinition<'a, T> where
<T as Text<'a>>::Value: Unpin,
impl<'a, T> UnwindSafe for SchemaDefinition<'a, T> where
<T as Text<'a>>::Value: UnwindSafe + RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more