pub enum DirectiveLocation {
Show 19 variants
Query,
Mutation,
Subscription,
Field,
FragmentDefinition,
FragmentSpread,
InlineFragment,
Schema,
Scalar,
Object,
FieldDefinition,
ArgumentDefinition,
Interface,
Union,
Enum,
EnumValue,
InputObject,
InputFieldDefinition,
VariableDefinition,
}
Variants§
Query
Mutation
Subscription
Field
FragmentDefinition
FragmentSpread
InlineFragment
Schema
Scalar
Object
FieldDefinition
ArgumentDefinition
Interface
Union
Enum
EnumValue
InputObject
InputFieldDefinition
VariableDefinition
Implementations§
Trait Implementations§
Source§impl Clone for DirectiveLocation
impl Clone for DirectiveLocation
Source§fn clone(&self) -> DirectiveLocation
fn clone(&self) -> DirectiveLocation
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 DirectiveLocation
impl Debug for DirectiveLocation
Source§impl Display for DirectiveLocation
impl Display for DirectiveLocation
Source§impl FromStr for DirectiveLocation
impl FromStr for DirectiveLocation
impl Copy for DirectiveLocation
Auto Trait Implementations§
impl Freeze for DirectiveLocation
impl RefUnwindSafe for DirectiveLocation
impl Send for DirectiveLocation
impl Sync for DirectiveLocation
impl Unpin for DirectiveLocation
impl UnwindSafe for DirectiveLocation
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