ethereal_rust_sdk 0.1.6

Trading client for Ethereal exchange
Documentation
use crate::{
    apis::{
        configuration::Configuration,
        whitelist_api::{
            whitelist_controller_is_whitelisted, WhitelistControllerIsWhitelistedError,
            WhitelistControllerIsWhitelistedParams,
        },
        Error,
    },
    models::WhitelistDto,
};
pub struct WhitelistClient<'a> {
    pub config: &'a Configuration,
}

impl<'a> WhitelistClient<'a> {
    pub async fn is_whitelisted(
        &self,
        params: WhitelistControllerIsWhitelistedParams,
    ) -> Result<WhitelistDto, Error<WhitelistControllerIsWhitelistedError>> {
        whitelist_controller_is_whitelisted(self.config, params).await
    }
}