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§
impl<'a, T: Text<'a>> StructuralPartialEq for EnumType<'a, T>
Auto Trait Implementations§
impl<'a, T> Freeze for EnumType<'a, T>
impl<'a, T> RefUnwindSafe for EnumType<'a, T>
impl<'a, T> Send for EnumType<'a, T>
impl<'a, T> Sync for EnumType<'a, T>
impl<'a, T> Unpin for EnumType<'a, T>
impl<'a, T> UnwindSafe for EnumType<'a, T>
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