Struct graphql_idl_parser::type_definition::GraphQLField
[−]
[src]
pub struct GraphQLField { /* fields omitted */ }
Methods
impl GraphQLField
[src]
fn description(&self) -> Option<&str>
fn name(&self) -> &str
impl GraphQLField
[src]
fn directives(&self) -> Option<Vec<GraphQLDirective>>
impl GraphQLField
[src]
impl GraphQLField
[src]
fn new(
description: Option<String>,
name: String,
typeinfo: FieldType,
arguments: Option<Vec<GraphQLArgument>>,
directives: Option<Vec<GraphQLDirective>>
) -> GraphQLField
description: Option<String>,
name: String,
typeinfo: FieldType,
arguments: Option<Vec<GraphQLArgument>>,
directives: Option<Vec<GraphQLDirective>>
) -> GraphQLField
fn arguments(&self) -> Option<Vec<GraphQLArgument>>
Trait Implementations
impl Clone for GraphQLField
[src]
fn clone(&self) -> GraphQLField
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