Struct graphql_parser::schema::InputObjectType
source · pub struct InputObjectType<'a, T: Text<'a>> {
pub position: Pos,
pub description: Option<String>,
pub name: T::Value,
pub directives: Vec<Directive<'a, T>>,
pub fields: Vec<InputValue<'a, T>>,
}
Fields§
§position: Pos
§description: Option<String>
§name: T::Value
§directives: Vec<Directive<'a, T>>
§fields: Vec<InputValue<'a, T>>
Implementations§
Trait Implementations§
source§impl<'a, T: Clone + Text<'a>> Clone for InputObjectType<'a, T>where
T::Value: Clone,
impl<'a, T: Clone + Text<'a>> Clone for InputObjectType<'a, T>where T::Value: Clone,
source§fn clone(&self) -> InputObjectType<'a, T>
fn clone(&self) -> InputObjectType<'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 InputObjectType<'a, T>where
T: Text<'a>,
impl<'a, T> Display for InputObjectType<'a, T>where T: Text<'a>,
source§impl<'a, T: PartialEq + Text<'a>> PartialEq<InputObjectType<'a, T>> for InputObjectType<'a, T>where
T::Value: PartialEq,
impl<'a, T: PartialEq + Text<'a>> PartialEq<InputObjectType<'a, T>> for InputObjectType<'a, T>where T::Value: PartialEq,
source§fn eq(&self, other: &InputObjectType<'a, T>) -> bool
fn eq(&self, other: &InputObjectType<'a, T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.