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 for TypeCondition<'a, T>where
T::Value: PartialEq,
impl<'a, T: PartialEq + Text<'a>> PartialEq 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 ==
.impl<'a, T: Text<'a>> StructuralPartialEq for TypeCondition<'a, T>
Auto Trait Implementations§
impl<'a, T> RefUnwindSafe for TypeCondition<'a, T>where <T as Text<'a>>::Value: RefUnwindSafe,
impl<'a, T> Send for TypeCondition<'a, T>where <T as Text<'a>>::Value: Send,
impl<'a, T> Sync for TypeCondition<'a, T>where <T as Text<'a>>::Value: Sync,
impl<'a, T> Unpin for TypeCondition<'a, T>where <T as Text<'a>>::Value: Unpin,
impl<'a, T> UnwindSafe for TypeCondition<'a, T>where <T as Text<'a>>::Value: UnwindSafe,
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