Skip to main content

Field

Type Alias Field 

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

Aliased Type§

pub struct Field {
    pub position: Pos,
    pub description: Option<String>,
    pub name: String,
    pub arguments: Vec<InputValue<'static, String>>,
    pub field_type: Type<'static, String>,
    pub directives: Vec<Directive<'static, String>>,
}

Fields§

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

Trait Implementations§

Source§

impl Hash for Field

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