Struct juniper::meta::InterfaceMeta
[−]
[src]
pub struct InterfaceMeta<'a> { /* fields omitted */ }
Interface type metadata
Methods
impl<'a> InterfaceMeta<'a>
[src]
fn new(name: Cow<'a, str>, fields: &[Field<'a>]) -> InterfaceMeta<'a>
[src]
Build a new interface type with the specified name and fields
fn description(self, description: &str) -> InterfaceMeta<'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 interface type in a generic meta type