luno_sdk 0.1.2

unofficial rust wrapper for the Luno API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use super::*;

#[async_trait]
impl Beneficiaries for LunoClient {

    async fn list_beneficiaries(&self) -> Result<reqwest::Response, Box<dyn std::error::Error>> {
        
        let url_str = self.get_base_url(Some("/api/1/beneficiaries"));

        let resp = self.dispatch(Method::GET, url_str, true).await?;

        Ok(resp)
    }
}