kraken-http 0.1.2

Asynchronous HTTP API bindings for the Kraken cryptocurrency exchange.
Documentation
1
2
3
4
5
6
7
8
9
10
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize)]
pub struct OpenOrdersInput {
    pub nonce: String,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub trades: Option<bool>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub user_ref: Option<u32>,
}