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