pub struct GQLEnumDef {
pub name: String,
pub values: Vec<GQLEnumValue>,
}Expand description
A GraphQL enum type definition.
Fields§
§name: String§values: Vec<GQLEnumValue>Trait Implementations§
Source§impl Clone for GQLEnumDef
impl Clone for GQLEnumDef
Source§fn clone(&self) -> GQLEnumDef
fn clone(&self) -> GQLEnumDef
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for GQLEnumDef
impl RefUnwindSafe for GQLEnumDef
impl Send for GQLEnumDef
impl Sync for GQLEnumDef
impl Unpin for GQLEnumDef
impl UnsafeUnpin for GQLEnumDef
impl UnwindSafe for GQLEnumDef
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