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 QueryFragment
s that represent a query
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 query operation for this QueryFragment.
Implementors
impl<'a, T, R, Q> QueryBuilder<'a> for T where
T: QueryFragment<SelectionSet = SelectionSet<'a, R, Q>>,
Q: QueryRoot,
R: 'a,
[src]
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
fn build(
args: impl Borrow<Self::Arguments>
) -> Operation<'a, Self::ResponseData>
[src]
args: impl Borrow<Self::Arguments>
) -> Operation<'a, Self::ResponseData>