Enum juniper::Applies[][src]

pub enum Applies<'a> {
    All,
    OnlyType(&'a str),
}

An enum that describes if a field is available in all types of the interface or only in a certain subtype

Variants

The field is available independent from the type

The field is only available for a given typename

Trait Implementations

impl<'a> Debug for Applies<'a>
[src]

Formats the value using the given formatter. Read more

impl<'a> Clone for Applies<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> PartialEq for Applies<'a>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl<'a> Send for Applies<'a>

impl<'a> Sync for Applies<'a>