Skip to main content

DirectiveDefinition

Type Alias DirectiveDefinition 

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

Aliased Type§

pub struct DirectiveDefinition {
    pub position: Pos,
    pub description: Option<String>,
    pub name: String,
    pub arguments: Vec<InputValue<'static, String>>,
    pub repeatable: bool,
    pub locations: Vec<DirectiveLocation>,
}

Fields§

§position: Pos§description: Option<String>§name: String§arguments: Vec<InputValue<'static, String>>§repeatable: bool§locations: Vec<DirectiveLocation>

Trait Implementations§

Source§

impl Hash for DirectiveDefinition

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