Debian Codegraph @

third_party/rust/icu_calendar/benches/fixtures/mod.rs

raw
1 // This file is part of ICU4X. For terms of use, please see the file
2 // called LICENSE at the top level of the ICU4X source tree
3 // (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ).
4
5 use serde::{Deserialize, Serialize};
6
7 #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
8 pub struct DateFixture(pub Vec<Test>);
9
10 #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
11 pub struct Test {
12 pub year: i32,
13 pub month: u8,
14 pub day: u8,
15 pub hour: u8,
16 pub minute: u8,
17 pub second: u8,
18 }