Struct juniper::meta::InputObjectMeta [−][src]
pub struct InputObjectMeta<'a, S> { /* fields omitted */ }
Expand description
Input object metadata
Implementations
impl<'a, S> InputObjectMeta<'a, S> where
S: ScalarValue,
[src]
impl<'a, S> InputObjectMeta<'a, S> where
S: ScalarValue,
[src]pub fn new<T: ?Sized>(
name: Cow<'a, str>,
input_fields: &[Argument<'a, S>]
) -> Self where
T: FromInputValue<S>,
[src]
pub fn new<T: ?Sized>(
name: Cow<'a, str>,
input_fields: &[Argument<'a, S>]
) -> Self where
T: FromInputValue<S>,
[src]Build a new input type with the specified name and input fields
pub fn description(self, description: &str) -> InputObjectMeta<'a, S>
[src]
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.
Trait Implementations
Auto Trait Implementations
impl<'a, S> RefUnwindSafe for InputObjectMeta<'a, S> where
S: RefUnwindSafe,
S: RefUnwindSafe,
impl<'a, S> Send for InputObjectMeta<'a, S> where
S: Send,
S: Send,
impl<'a, S> Sync for InputObjectMeta<'a, S> where
S: Sync,
S: Sync,
impl<'a, S> Unpin for InputObjectMeta<'a, S> where
S: Unpin,
S: Unpin,
impl<'a, S> UnwindSafe for InputObjectMeta<'a, S> where
S: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,