[][src]Struct juniper::meta::InputObjectMeta

pub struct InputObjectMeta<'a, S> { /* fields omitted */ }

Input object metadata

Methods

impl<'a, S> InputObjectMeta<'a, S> where
    S: ScalarValue
[src]

pub fn new<T: FromInputValue<S>>(
    name: Cow<'a, str>,
    input_fields: &[Argument<'a, S>]
) -> Self where
    &'b S: ScalarRefValue<'b>, 
[src]

Build a new input type with the specified name and input fields

pub fn description(self, description: &str) -> InputObjectMeta<'a, S>[src]

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, S>[src]

Wrap this union type in a generic meta type

Trait Implementations

impl<'a, S: Debug> Debug for InputObjectMeta<'a, S>[src]

Auto Trait Implementations

impl<'a, S> RefUnwindSafe for InputObjectMeta<'a, S> where
    S: RefUnwindSafe

impl<'a, S> Send for InputObjectMeta<'a, S> where
    S: Send

impl<'a, S> Sync for InputObjectMeta<'a, S> where
    S: Sync

impl<'a, S> Unpin for InputObjectMeta<'a, S> where
    S: Unpin

impl<'a, S> UnwindSafe for InputObjectMeta<'a, S> where
    S: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.