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