diff options
author | Pietro Albini <pietro@pietroalbini.org> | 2019-02-05 10:27:20 +0100 |
---|---|---|
committer | Pietro Albini <pietro@pietroalbini.org> | 2019-02-05 10:27:20 +0100 |
commit | 670c2d554bdbbe13e98deff3d6821b894943b812 (patch) | |
tree | ef7428afdf5fd05af3bfd45c153d239c26c83ef2 /rust_team_data | |
parent | 9a81125fc2bce72c2de49ce7813ab393ea4ae121 (diff) |
add mailing lists to the static API
Diffstat (limited to 'rust_team_data')
-rw-r--r-- | rust_team_data/src/v1.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/rust_team_data/src/v1.rs b/rust_team_data/src/v1.rs index 5387028..2bf5bfd 100644 --- a/rust_team_data/src/v1.rs +++ b/rust_team_data/src/v1.rs @@ -48,3 +48,14 @@ pub struct Teams { #[serde(flatten)] pub teams: IndexMap<String, Team>, } + +#[derive(Debug, Clone, Serialize, Deserialize)] +pub struct List { + pub address: String, + pub members: Vec<String>, +} + +#[derive(Debug, Clone, Serialize, Deserialize)] +pub struct Lists { + pub lists: IndexMap<String, List>, +} |