Trait cynic::MutationBuilder [−][src]
pub trait MutationBuilder<'a> { type Arguments; type ResponseData; fn build(
args: impl Borrow<Self::Arguments>
) -> Operation<'a, Self::ResponseData>; }
Provides a build
function on QueryFragment
s that represent a mutation
Associated Types
type Arguments
[src]
type ResponseData
[src]
Required methods
fn build(
args: impl Borrow<Self::Arguments>
) -> Operation<'a, Self::ResponseData>
[src]
args: impl Borrow<Self::Arguments>
) -> Operation<'a, Self::ResponseData>
Constructs a mutation operation for this QueryFragment.
Implementors
impl<'a, T, R, Q> MutationBuilder<'a> for T where
T: QueryFragment<SelectionSet = SelectionSet<'a, R, Q>>,
Q: MutationRoot,
R: 'a,
[src]
impl<'a, T, R, Q> MutationBuilder<'a> for T where
T: QueryFragment<SelectionSet = SelectionSet<'a, R, Q>>,
Q: MutationRoot,
R: 'a,
[src]type Arguments = T::Arguments
type ResponseData = R
fn build(
args: impl Borrow<Self::Arguments>
) -> Operation<'a, Self::ResponseData>
[src]
args: impl Borrow<Self::Arguments>
) -> Operation<'a, Self::ResponseData>