[][src]Struct async_graphql_parser::types::InputValueDefinition

pub struct InputValueDefinition {
    pub description: Option<Positioned<String>>,
    pub name: Positioned<Name>,
    pub ty: Positioned<Type>,
    pub default_value: Option<Positioned<ConstValue>>,
    pub directives: Vec<Positioned<ConstDirective>>,
}

The definition of an input value inside the arguments of a field.

Reference.

Fields

description: Option<Positioned<String>>

The description of the argument.

name: Positioned<Name>

The name of the argument.

ty: Positioned<Type>

The type of the argument.

default_value: Option<Positioned<ConstValue>>

The default value of the argument, if there is one.

directives: Vec<Positioned<ConstDirective>>

The directives of the input value.

Trait Implementations

impl Clone for InputValueDefinition[src]

impl Debug for InputValueDefinition[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.