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