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
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for UnionType<'a, T> where
<T as Text<'a>>::Value: RefUnwindSafe,
impl<'a, T> UnwindSafe for UnionType<'a, T> where
<T as Text<'a>>::Value: UnwindSafe + RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more