Enum async_graphql_parser::types::DirectiveLocation [−][src]
pub enum DirectiveLocation {
Show variants
Query,
Mutation,
Subscription,
Field,
FragmentDefinition,
FragmentSpread,
InlineFragment,
Schema,
Scalar,
Object,
FieldDefinition,
ArgumentDefinition,
Interface,
Union,
Enum,
EnumValue,
InputObject,
InputFieldDefinition,
}Expand description
Where a directive can apply to.
Variants
Expand description
Expand description
A field.
Expand description
Expand description
Expand description
An inline fragment.
Expand description
A schema.
Expand description
A scalar.
Expand description
An object.
Expand description
Expand description
An input value definition as the arguments of a field but not an input object.
Expand description
An interface.
Expand description
A union.
Expand description
An enum.
Expand description
Expand description
An input object.
Expand description
An input value definition on an input object but not a field.
Trait Implementations
impl Clone for DirectiveLocation[src]
impl Clone for DirectiveLocation[src]fn clone(&self) -> DirectiveLocation[src]
fn clone(&self) -> DirectiveLocation[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for DirectiveLocation[src]
impl Debug for DirectiveLocation[src]impl PartialEq<DirectiveLocation> for DirectiveLocation[src]
impl PartialEq<DirectiveLocation> for DirectiveLocation[src]impl Copy for DirectiveLocation[src]
impl Eq for DirectiveLocation[src]
impl StructuralEq for DirectiveLocation[src]
impl StructuralPartialEq for DirectiveLocation[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more