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
AllThe field is available independent from the type
OnlyType(&'a str)The field is only available for a given typename
Trait Implementations
impl<'a> Debug for Applies<'a>[src]
impl<'a> Debug for Applies<'a>fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<'a> Clone for Applies<'a>[src]
impl<'a> Clone for Applies<'a>fn clone(&self) -> Applies<'a>[src]
fn clone(&self) -> Applies<'a>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<'a> PartialEq for Applies<'a>[src]
impl<'a> PartialEq for Applies<'a>