rust_ynab/ynab/common.rs
1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Deserialize, Serialize)]
4pub struct DateFormat {
5 format: String,
6}
7
8#[derive(Debug, Deserialize, Serialize)]
9pub struct CurrencyFormat {
10 pub iso_code: String,
11 example_format: String,
12 decimal_digits: usize,
13 decimal_separator: char,
14 symbol_first: bool,
15 group_separator: String,
16 currency_symbol: String,
17 display_symbol: bool,
18}
19
20pub const NO_PARAMS: Option<&[(&str, &str)]> = None;