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§
source§impl Clone for EnumTypeDef
impl Clone for EnumTypeDef
source§fn clone(&self) -> EnumTypeDef
fn clone(&self) -> EnumTypeDef
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 Debug for EnumTypeDef
impl Debug for EnumTypeDef
source§impl From<EnumTypeDef> for EnumDefinition
impl From<EnumTypeDef> for EnumDefinition
source§fn 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§
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