Struct graphql_parser::schema::EnumType [−][src]
pub struct EnumType { pub position: Pos, pub description: Option<String>, pub name: Name, pub directives: Vec<Directive>, pub values: Vec<EnumValue>, }
Fields
position: Pos
description: Option<String>
name: Name
directives: Vec<Directive>
values: Vec<EnumValue>
Methods
impl EnumType
[src]
impl EnumType
Trait Implementations
impl Debug for EnumType
[src]
impl Debug for EnumType
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for EnumType
[src]
impl Clone for EnumType
fn clone(&self) -> EnumType
[src]
fn clone(&self) -> EnumType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for EnumType
[src]
impl PartialEq for EnumType
fn eq(&self, other: &EnumType) -> bool
[src]
fn eq(&self, other: &EnumType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &EnumType) -> bool
[src]
fn ne(&self, other: &EnumType) -> bool
This method tests for !=
.
impl Display for EnumType
[src]
impl Display for EnumType