gw2lib_model/misc/
build.rs

1use serde::{Deserialize, Serialize};
2
3use crate::{Endpoint, FixedEndpoint};
4
5#[derive(Clone, PartialEq, Eq, PartialOrd, Debug, Serialize, Deserialize)]
6#[cfg_attr(test, serde(deny_unknown_fields))]
7pub struct Build {
8    pub id: u64,
9}
10
11impl Endpoint for Build {
12    const AUTHENTICATED: bool = false;
13    const LOCALE: bool = false;
14    const URL: &'static str = "v2/build";
15    const VERSION: &'static str = "2021-01-11T00:00:00.000Z";
16}
17
18impl FixedEndpoint for Build {}