lightspark 0.10.2

Lightspark Rust SDK
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use async_trait::async_trait;
use serde_json::Value;

use crate::error::Error;

#[async_trait]
pub trait GraphQLRequester: Send + Sync {
    async fn execute_graphql(
        &self,
        operation: &str,
        variables: Option<Value>,
    ) -> Result<Value, Error>;
}