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 UnionType
Trait Implementations
impl Debug for UnionType
[src]
impl Debug for UnionType
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 UnionType
[src]
impl Clone for UnionType
fn clone(&self) -> UnionType
[src]
fn clone(&self) -> UnionType
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 UnionType
[src]
impl PartialEq for UnionType
fn eq(&self, other: &UnionType) -> bool
[src]
fn eq(&self, other: &UnionType) -> bool
This 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) -> bool
This method tests for !=
.
impl Display for UnionType
[src]
impl Display for UnionType