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