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