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