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