[][src]Struct juniper::EmptyMutation

pub struct EmptyMutation<T: ?Sized = ()>(_);

Utility type to define read-only schemas

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

Implementations

impl<T: ?Sized> EmptyMutation<T>[src]

pub fn new() -> Self[src]

Construct a new empty mutation

Trait Implementations

impl<T: Debug + ?Sized> Debug for EmptyMutation<T>[src]

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

impl<S, T> GraphQLType<S> for EmptyMutation<T> where
    S: ScalarValue
[src]

impl<S, T> GraphQLValue<S> for EmptyMutation<T> where
    S: ScalarValue
[src]

type Context = T

Context type for this GraphQLValue. Read more

type TypeInfo = ()

Type that may carry additional schema information for this GraphQLValue. Read more

impl<S, T> GraphQLValueAsync<S> for EmptyMutation<T> where
    Self::TypeInfo: Sync,
    Self::Context: Sync,
    S: ScalarValue + Send + Sync
[src]

Auto Trait Implementations

impl<T = ()> !RefUnwindSafe for EmptyMutation<T>[src]

impl<T: ?Sized> Send for EmptyMutation<T>[src]

impl<T: ?Sized> Sync for EmptyMutation<T>[src]

impl<T: ?Sized> Unpin for EmptyMutation<T>[src]

impl<T = ()> !UnwindSafe for EmptyMutation<T>[src]

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,