pub enum DirectiveLocationKind {
Show 19 variants
ArgumentDefinition,
Enum,
EnumValue,
Field,
FieldDefinition,
FragmentDefinition,
FragmentSpread,
InlineFragment,
InputFieldDefinition,
InputObject,
Interface,
Mutation,
Object,
Query,
Scalar,
Schema,
Subscription,
Union,
VariableDefinition,
}Expand description
The kind of location where a directive may be applied.
See Directive Locations in the spec.
Variants§
ArgumentDefinition
Enum
EnumValue
Field
FieldDefinition
FragmentDefinition
FragmentSpread
InlineFragment
InputFieldDefinition
InputObject
Interface
Mutation
Object
Query
Scalar
Schema
Subscription
Union
VariableDefinition
Trait Implementations§
Source§impl Clone for DirectiveLocationKind
impl Clone for DirectiveLocationKind
Source§fn clone(&self) -> DirectiveLocationKind
fn clone(&self) -> DirectiveLocationKind
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 moreSource§impl Debug for DirectiveLocationKind
impl Debug for DirectiveLocationKind
Source§impl Hash for DirectiveLocationKind
impl Hash for DirectiveLocationKind
Source§impl PartialEq for DirectiveLocationKind
impl PartialEq for DirectiveLocationKind
impl Copy for DirectiveLocationKind
impl Eq for DirectiveLocationKind
impl StructuralPartialEq for DirectiveLocationKind
Auto Trait Implementations§
impl Freeze for DirectiveLocationKind
impl RefUnwindSafe for DirectiveLocationKind
impl Send for DirectiveLocationKind
impl Sync for DirectiveLocationKind
impl Unpin for DirectiveLocationKind
impl UnsafeUnpin for DirectiveLocationKind
impl UnwindSafe for DirectiveLocationKind
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