Trait cynic::MutationBuilder[][src]

pub trait MutationBuilder<'a> {
    type Arguments;
    type ResponseData;
    fn build(
        args: impl Borrow<Self::Arguments>
    ) -> Operation<'a, Self::ResponseData>; }
Expand description

Provides a build function on QueryFragments that represent a mutation

Associated Types

The type that this mutation takes as arguments. May be () if no arguments are accepted.

The type that this mutation returns if succesful.

Required methods

Constructs a mutation operation for this QueryFragment.

Implementors