Struct graphql_tools::static_graphql::schema::UnionTypeExtension [−][src]
pub struct UnionTypeExtension<'a, T> where
T: Text<'a>, {
pub position: Pos,
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
name: <T as Text<'a>>::Value
directives: Vec<Directive<'a, T>, Global>
types: Vec<<T as Text<'a>>::Value, Global>
Implementations
Trait Implementations
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, T> RefUnwindSafe for UnionTypeExtension<'a, T> where
<T as Text<'a>>::Value: RefUnwindSafe,
impl<'a, T> Send for UnionTypeExtension<'a, T> where
<T as Text<'a>>::Value: Send,
impl<'a, T> Sync for UnionTypeExtension<'a, T> where
<T as Text<'a>>::Value: Sync,
impl<'a, T> Unpin for UnionTypeExtension<'a, T> where
<T as Text<'a>>::Value: Unpin,
impl<'a, T> UnwindSafe for UnionTypeExtension<'a, T> where
<T as Text<'a>>::Value: UnwindSafe + RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more