Struct graphql_parser::schema::InputValue
source · pub struct InputValue<'a, T: Text<'a>> {
pub position: Pos,
pub description: Option<String>,
pub name: T::Value,
pub value_type: Type<'a, T>,
pub default_value: Option<Value<'a, T>>,
pub directives: Vec<Directive<'a, T>>,
}
Fields§
§position: Pos
§description: Option<String>
§name: T::Value
§value_type: Type<'a, T>
§default_value: Option<Value<'a, T>>
§directives: Vec<Directive<'a, T>>
Trait Implementations§
source§impl<'a, T: Clone + Text<'a>> Clone for InputValue<'a, T>where
T::Value: Clone,
impl<'a, T: Clone + Text<'a>> Clone for InputValue<'a, T>where T::Value: Clone,
source§fn clone(&self) -> InputValue<'a, T>
fn clone(&self) -> InputValue<'a, T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a, T> Display for InputValue<'a, T>where
T: Text<'a>,
impl<'a, T> Display for InputValue<'a, T>where T: Text<'a>,
source§impl<'a, T: PartialEq + Text<'a>> PartialEq<InputValue<'a, T>> for InputValue<'a, T>where
T::Value: PartialEq,
impl<'a, T: PartialEq + Text<'a>> PartialEq<InputValue<'a, T>> for InputValue<'a, T>where T::Value: PartialEq,
source§fn eq(&self, other: &InputValue<'a, T>) -> bool
fn eq(&self, other: &InputValue<'a, T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.