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: &'a str,
input_fields: &[Argument<'a>])
-> InputObjectMeta<'a>
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>
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 union type in a generic meta type