Struct juniper::meta::UnionMeta
[−]
[src]
pub struct UnionMeta<'a> { /* fields omitted */ }
Union type metadata
Methods
impl<'a> UnionMeta<'a>
[src]
fn new(name: Cow<'a, str>, of_types: &[Type]) -> UnionMeta<'a>
[src]
Build a new union type with the specified name and possible types
fn description(self, description: &str) -> UnionMeta<'a>
[src]
Set the description of the type
If a description was provided prior to calling this method, it will be overwritten.
fn into_meta(self) -> MetaType<'a>
[src]
Wrap this union type in a generic meta type