luno-rs 0.1.0

A lightweight Rust wrapper for Luno API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use serde::Deserialize;

#[derive(Deserialize)]
pub struct MarketsInfo {
    pub base_currency: String,
    pub counter_currency: String,
    pub fee_scale: String,
}

#[derive(Deserialize)]
pub struct GetMarketsInfoResponse {
    pub markets: Vec<MarketsInfo>,
}