Trait cynic::QueryBuilder[][src]

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

Provides a build function on QueryFragments that represent a query

Associated Types

Loading content...

Required methods

fn build(
    args: impl Borrow<Self::Arguments>
) -> Operation<'a, Self::ResponseData>
[src]

Constructs a query operation for this QueryFragment.

Loading content...

Implementors

impl<'a, T, R, Q> QueryBuilder<'a> for T where
    T: QueryFragment<SelectionSet = SelectionSet<'a, R, Q>>,
    Q: QueryRoot,
    R: 'a, 
[src]

type Arguments = T::Arguments

type ResponseData = R

Loading content...