Struct graphql_idl_parser::type_definition::GraphQLDirective
[−]
[src]
pub struct GraphQLDirective { /* fields omitted */ }
Methods
impl GraphQLDirective
[src]
fn new(
name: String,
arguments: Option<Vec<GraphQLDirectiveArgument>>
) -> GraphQLDirective
name: String,
arguments: Option<Vec<GraphQLDirectiveArgument>>
) -> GraphQLDirective
fn name(&self) -> &str
fn arguments(&self) -> Option<Vec<GraphQLDirectiveArgument>>
Trait Implementations
impl Clone for GraphQLDirective
[src]
fn clone(&self) -> GraphQLDirective
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for GraphQLDirective
[src]
impl PartialEq for GraphQLDirective
[src]
fn eq(&self, __arg_0: &GraphQLDirective) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &GraphQLDirective) -> bool
This method tests for !=
.