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 QueryFragment
s that represent a mutation
Associated Types
The type that this mutation takes as arguments.
May be ()
if no arguments are accepted.
type ResponseData
type ResponseData
The type that this mutation returns if succesful.