Struct juniper::meta::InputObjectMeta
[−]
[src]
pub struct InputObjectMeta<'a> { /* fields omitted */ }
Input object metadata
Methods
impl<'a> InputObjectMeta<'a>
[src]
fn new<T: FromInputValue>(
name: Cow<'a, str>,
input_fields: &[Argument<'a>]
) -> InputObjectMeta<'a>
[src]
name: Cow<'a, str>,
input_fields: &[Argument<'a>]
) -> InputObjectMeta<'a>
Build a new input type with the specified name and input fields
fn description(self, description: &str) -> InputObjectMeta<'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