Trait cynic::QueryBuilder

source ·
pub trait QueryBuilder<'de>: Sized {
    type Variables;

    fn build(vars: Self::Variables) -> Operation<Self, Self::Variables>;
}
Expand description

Provides a build function on QueryFragments that represent a query

Required Associated Types§

The type that this query takes as variables. May be () if no variables are accepted.

Required Methods§

Constructs a query operation for this QueryFragment.

Implementors§