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 EnumTypeTrait Implementations
impl Debug for EnumType[src]
impl Debug for EnumTypefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for EnumType[src]
impl Clone for EnumTypefn clone(&self) -> EnumType[src]
fn clone(&self) -> EnumTypeReturns 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 EnumTypefn eq(&self, other: &EnumType) -> bool[src]
fn eq(&self, other: &EnumType) -> boolThis 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) -> boolThis method tests for !=.
impl Display for EnumType[src]
impl Display for EnumType