Skip to main content

SchemaDefinition

Type Alias SchemaDefinition 

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

Aliased Type§

pub struct SchemaDefinition {
    pub position: Pos,
    pub directives: Vec<Directive<'static, String>>,
    pub query: Option<String>,
    pub mutation: Option<String>,
    pub subscription: Option<String>,
}

Fields§

§position: Pos§directives: Vec<Directive<'static, String>>§query: Option<String>§mutation: Option<String>§subscription: Option<String>

Trait Implementations§

Source§

impl Hash for SchemaDefinition

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