gw2api_rs/v2/
currencies.rs

1use serde::{Deserialize, Serialize};
2
3use crate::endpoint;
4
5#[derive(Clone, Debug, Serialize, Deserialize)]
6pub struct Currency {
7    pub id: u64,
8    pub name: String,
9    pub description: String,
10    pub icon: String,
11    pub order: u64,
12}
13
14endpoint!(Currency, "/v2/currencies", u64, get_all);