Skip to main content

ScalarType

Type Alias ScalarType 

Source
pub type ScalarType = ScalarType<'static, String>;

Aliased Type§

pub struct ScalarType {
    pub position: Pos,
    pub description: Option<String>,
    pub name: String,
    pub directives: Vec<Directive<'static, String>>,
}

Fields§

§position: Pos§description: Option<String>§name: String§directives: Vec<Directive<'static, String>>

Trait Implementations§

Source§

impl Hash for ScalarType

Source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more