Struct graphql_idl_parser::type_definition::GraphQLArgument
[−]
[src]
pub struct GraphQLArgument { /* fields omitted */ }
Methods
impl GraphQLArgument
[src]
fn description(&self) -> Option<&str>
fn name(&self) -> &str
impl GraphQLArgument
[src]
fn directives(&self) -> Option<Vec<GraphQLDirective>>
impl GraphQLArgument
[src]
impl GraphQLArgument
[src]
fn new(
description: Option<String>,
name: String,
typeinfo: FieldType,
default: Option<String>,
directives: Option<Vec<GraphQLDirective>>
) -> GraphQLArgument
description: Option<String>,
name: String,
typeinfo: FieldType,
default: Option<String>,
directives: Option<Vec<GraphQLDirective>>
) -> GraphQLArgument
fn default(&self) -> Option<&str>
Trait Implementations
impl Clone for GraphQLArgument
[src]
fn clone(&self) -> GraphQLArgument
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 GraphQLArgument
[src]
impl PartialEq for GraphQLArgument
[src]
fn eq(&self, __arg_0: &GraphQLArgument) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &GraphQLArgument) -> bool
This method tests for !=
.