use graphql_client::GraphQLQuery;
#[derive(GraphQLQuery, Debug, Copy, Clone)]
#[graphql(
schema_path = "graphql/schema.json",
query_path = "graphql/queries/meta_version_string.graphql",
response_derives = "Debug"
)]
pub struct MetaVersionStringQuery;
pub trait MetaQueryExt {
async fn meta_version_string(&self) -> crate::QueryResult<MetaVersionStringQuery>;
}
impl MetaQueryExt for crate::Client {
async fn meta_version_string(&self) -> crate::QueryResult<MetaVersionStringQuery> {
self.query::<MetaVersionStringQuery>(&MetaVersionStringQuery::build_query(
meta_version_string_query::Variables,
))
.await
}
}