luno 0.3.0

An unofficial Rust wrapper for the Luno API.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use serde::Deserialize;

#[derive(Debug, Deserialize)]
pub struct Beneficiary {
    pub bank_account_branch: String,
    pub bank_account_number: String,
    pub bank_account_type: String,
    pub bank_country: String,
    pub bank_name: String,
    pub bank_recipient: String,
    pub created_at: u64,
    pub id: String,
}

#[derive(Debug, Deserialize)]
pub struct ListBeneficiariesResponse {
    beneficiaries: Vec<Beneficiary>,
}