Struct graphql_parser::schema::EnumType
source · pub struct EnumType<'a, T: Text<'a>> {
pub position: Pos,
pub description: Option<String>,
pub name: T::Value,
pub directives: Vec<Directive<'a, T>>,
pub values: Vec<EnumValue<'a, T>>,
}
Fields§
§position: Pos
§description: Option<String>
§name: T::Value
§directives: Vec<Directive<'a, T>>
§values: Vec<EnumValue<'a, T>>
Implementations§
Trait Implementations§
source§impl<'a, T: PartialEq + Text<'a>> PartialEq for EnumType<'a, T>where
T::Value: PartialEq,
impl<'a, T: PartialEq + Text<'a>> PartialEq for EnumType<'a, T>where T::Value: PartialEq,
impl<'a, T: Text<'a>> StructuralPartialEq for EnumType<'a, T>
Auto Trait Implementations§
impl<'a, T> RefUnwindSafe for EnumType<'a, T>where <T as Text<'a>>::Value: RefUnwindSafe,
impl<'a, T> Send for EnumType<'a, T>where <T as Text<'a>>::Value: Send,
impl<'a, T> Sync for EnumType<'a, T>where <T as Text<'a>>::Value: Sync,
impl<'a, T> Unpin for EnumType<'a, T>where <T as Text<'a>>::Value: Unpin,
impl<'a, T> UnwindSafe for EnumType<'a, T>where <T as Text<'a>>::Value: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more