Enum apollo_compiler::database::hir::DirectiveLocation   
source · pub enum DirectiveLocation {
Show 19 variants
    Query,
    Mutation,
    Subscription,
    Field,
    FragmentDefinition,
    FragmentSpread,
    InlineFragment,
    VariableDefinition,
    Schema,
    Scalar,
    Object,
    FieldDefinition,
    ArgumentDefinition,
    Interface,
    Union,
    Enum,
    EnumValue,
    InputObject,
    InputFieldDefinition,
}Variants§
Query
Mutation
Subscription
Field
FragmentDefinition
FragmentSpread
InlineFragment
VariableDefinition
Schema
Scalar
Object
FieldDefinition
ArgumentDefinition
Interface
Union
Enum
EnumValue
InputObject
InputFieldDefinition
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 From<DirectiveLocation> for DirectiveLocation
 
impl From<DirectiveLocation> for DirectiveLocation
source§fn from(directive_loc: DirectiveLocation) -> Self
 
fn from(directive_loc: DirectiveLocation) -> Self
Converts to this type from the input type.
source§impl From<OperationType> for DirectiveLocation
 
impl From<OperationType> for DirectiveLocation
source§fn from(op_type: OperationType) -> Self
 
fn from(op_type: OperationType) -> Self
Converts to this type from the input type.
source§impl Hash for DirectiveLocation
 
impl Hash for DirectiveLocation
source§impl PartialEq<DirectiveLocation> for DirectiveLocation
 
impl PartialEq<DirectiveLocation> for DirectiveLocation
source§fn eq(&self, other: &DirectiveLocation) -> bool
 
fn eq(&self, other: &DirectiveLocation) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl Copy for DirectiveLocation
impl Eq for DirectiveLocation
impl StructuralEq for DirectiveLocation
impl StructuralPartialEq for DirectiveLocation
Auto Trait Implementations§
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
source§impl<Q, K> Equivalent<K> for Qwhere
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized,
 
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.