moonproof-indexer-client 0.2.2

Rust client for the Midnight indexer's GraphQL API
Documentation
use graphql_client::GraphQLQuery;

#[allow(clippy::upper_case_acronyms)]
pub type HexEncoded = String;
pub type ViewingKey = String;
pub type Unit = serde_json::Value;

#[derive(GraphQLQuery)]
#[graphql(
    schema_path = "graphql/schema.graphql",
    query_path = "graphql/queries/connect.graphql",
    response_derives = "Debug, Clone",
    variables_derives = "Debug, Clone"
)]
pub struct ConnectMutation;

#[derive(GraphQLQuery)]
#[graphql(
    schema_path = "graphql/schema.graphql",
    query_path = "graphql/queries/disconnect.graphql",
    response_derives = "Debug, Clone",
    variables_derives = "Debug, Clone"
)]
pub struct DisconnectMutation;