Struct graphql_parser::schema::UnionType [−][src]
pub struct UnionType {
pub position: Pos,
pub description: Option<String>,
pub name: Name,
pub directives: Vec<Directive>,
pub types: Vec<NamedType>,
}Fields
position: Pos
description: Option<String>
name: Name
directives: Vec<Directive>
types: Vec<NamedType>
Methods
impl UnionType[src]
impl UnionTypeTrait Implementations
impl Debug for UnionType[src]
impl Debug for UnionTypefn 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 UnionType[src]
impl Clone for UnionTypefn clone(&self) -> UnionType[src]
fn clone(&self) -> UnionTypeReturns 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 UnionType[src]
impl PartialEq for UnionTypefn eq(&self, other: &UnionType) -> bool[src]
fn eq(&self, other: &UnionType) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &UnionType) -> bool[src]
fn ne(&self, other: &UnionType) -> boolThis method tests for !=.
impl Display for UnionType[src]
impl Display for UnionType