Struct apollo_smith::EnumTypeDef
source · pub struct EnumTypeDef { /* private fields */ }Expand description
Enums are special scalars that can only have a defined set of values.
EnumTypeDefinition: Description? enum Name Directives? EnumValuesDefinition?
Detailed documentation can be found in GraphQL spec.
Trait Implementations
sourceimpl Clone for EnumTypeDef
impl Clone for EnumTypeDef
sourcefn clone(&self) -> EnumTypeDef
fn clone(&self) -> EnumTypeDef
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for EnumTypeDef
impl Debug for EnumTypeDef
sourceimpl From<EnumTypeDef> for EnumDefinition
impl From<EnumTypeDef> for EnumDefinition
sourcefn from(enum_: EnumTypeDef) -> Self
fn from(enum_: EnumTypeDef) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for EnumTypeDef
impl Send for EnumTypeDef
impl Sync for EnumTypeDef
impl Unpin for EnumTypeDef
impl UnwindSafe for EnumTypeDef
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more