Enum graphql_parser::query::TypeCondition
source · pub enum TypeCondition<'a, T: Text<'a>> {
On(T::Value),
}
Variants§
Trait Implementations§
source§impl<'a, T: Clone + Text<'a>> Clone for TypeCondition<'a, T>where
T::Value: Clone,
impl<'a, T: Clone + Text<'a>> Clone for TypeCondition<'a, T>where T::Value: Clone,
source§fn clone(&self) -> TypeCondition<'a, T>
fn clone(&self) -> TypeCondition<'a, T>
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<'a, T> Display for TypeCondition<'a, T>where
T: Text<'a>,
impl<'a, T> Display for TypeCondition<'a, T>where T: Text<'a>,
source§impl<'a, T: PartialEq + Text<'a>> PartialEq<TypeCondition<'a, T>> for TypeCondition<'a, T>where
T::Value: PartialEq,
impl<'a, T: PartialEq + Text<'a>> PartialEq<TypeCondition<'a, T>> for TypeCondition<'a, T>where T::Value: PartialEq,
source§fn eq(&self, other: &TypeCondition<'a, T>) -> bool
fn eq(&self, other: &TypeCondition<'a, T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.