tba_openapi_rust/models/
zebra_alliances.rs

1/*
2 * The Blue Alliance API v3
3 *
4 * # Overview    Information and statistics about FIRST Robotics Competition teams and events.   # Authentication   All endpoints require an Auth Key to be passed in the header `X-TBA-Auth-Key`. If you do not have an auth key yet, you can obtain one from your [Account Page](/account).
5 *
6 * The version of the OpenAPI document: 3.8.2
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12
13
14#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
15pub struct ZebraAlliances {
16    /// Zebra MotionWorks data for teams on the red alliance
17    #[serde(rename = "red", skip_serializing_if = "Option::is_none")]
18    pub red: Option<Vec<crate::models::ZebraTeam>>,
19    /// Zebra data for teams on the blue alliance
20    #[serde(rename = "blue", skip_serializing_if = "Option::is_none")]
21    pub blue: Option<Vec<crate::models::ZebraTeam>>,
22}
23
24impl ZebraAlliances {
25    pub fn new() -> ZebraAlliances {
26        ZebraAlliances {
27            red: None,
28            blue: None,
29        }
30    }
31}
32
33