[][src]Struct juniper::EmptyMutation

pub struct EmptyMutation<T> { /* fields omitted */ }

Utillity type to define read-only schemas

If you instantiate RootNode with this as the mutation, no mutation will be generated for the schema.

Methods

impl<T> EmptyMutation<T>[src]

pub fn new() -> EmptyMutation<T>[src]

Construct a new empty mutation

Trait Implementations

impl<T: Debug> Debug for EmptyMutation<T>[src]

impl<S, T> GraphQLType<S> for EmptyMutation<T> where
    S: ScalarValue,
    &'b S: ScalarRefValue<'b>, 
[src]

type Context = T

The expected context type for this GraphQL type Read more

type TypeInfo = ()

Type that may carry additional schema information Read more

impl<T> Send for EmptyMutation<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for EmptyMutation<T> where
    T: RefUnwindSafe

impl<T> Sync for EmptyMutation<T> where
    T: Sync

impl<T> Unpin for EmptyMutation<T> where
    T: Unpin

impl<T> UnwindSafe for EmptyMutation<T> where
    T: 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.