Struct graphql_tools::static_graphql::schema::UnionType
source · [−]pub struct UnionType<'a, T> where
T: Text<'a>, {
pub position: Pos,
pub description: Option<String>,
pub name: <T as Text<'a>>::Value,
pub directives: Vec<Directive<'a, T>, Global>,
pub types: Vec<<T as Text<'a>>::Value, Global>,
}
Fields
position: Pos
description: Option<String>
name: <T as Text<'a>>::Value
directives: Vec<Directive<'a, T>, Global>
types: Vec<<T as Text<'a>>::Value, Global>
Implementations
Trait Implementations
sourceimpl<'a, T> Clone for UnionType<'a, T> where
T: Clone + Text<'a>,
<T as Text<'a>>::Value: Clone,
impl<'a, T> Clone for UnionType<'a, T> where
T: Clone + Text<'a>,
<T as Text<'a>>::Value: Clone,
sourceimpl<'a, T> Debug for UnionType<'a, T> where
T: Debug + Text<'a>,
<T as Text<'a>>::Value: Debug,
impl<'a, T> Debug for UnionType<'a, T> where
T: Debug + Text<'a>,
<T as Text<'a>>::Value: Debug,
sourceimpl<'a, T> PartialEq<UnionType<'a, T>> for UnionType<'a, T> where
T: PartialEq<T> + Text<'a>,
<T as Text<'a>>::Value: PartialEq<<T as Text<'a>>::Value>,
impl<'a, T> PartialEq<UnionType<'a, T>> for UnionType<'a, T> where
T: PartialEq<T> + Text<'a>,
<T as Text<'a>>::Value: PartialEq<<T as Text<'a>>::Value>,
impl<'a, T> StructuralPartialEq for UnionType<'a, T> where
T: Text<'a>,
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for UnionType<'a, T> where
<T as Text<'a>>::Value: RefUnwindSafe,
impl<'a, T> Send for UnionType<'a, T> where
<T as Text<'a>>::Value: Send,
impl<'a, T> Sync for UnionType<'a, T> where
<T as Text<'a>>::Value: Sync,
impl<'a, T> Unpin for UnionType<'a, T> where
<T as Text<'a>>::Value: Unpin,
impl<'a, T> UnwindSafe for UnionType<'a, T> where
<T as Text<'a>>::Value: UnwindSafe + RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more