[][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.


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>, 

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.