tba_openapi_rust/models/
match_score_breakdown_2017.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/// MatchScoreBreakdown2017 : See the 2017 FMS API documentation for a description of each value.
12
13
14
15#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
16pub struct MatchScoreBreakdown2017 {
17    #[serde(rename = "blue", skip_serializing_if = "Option::is_none")]
18    pub blue: Option<Box<crate::models::MatchScoreBreakdown2017Alliance>>,
19    #[serde(rename = "red", skip_serializing_if = "Option::is_none")]
20    pub red: Option<Box<crate::models::MatchScoreBreakdown2017Alliance>>,
21}
22
23impl MatchScoreBreakdown2017 {
24    /// See the 2017 FMS API documentation for a description of each value.
25    pub fn new() -> MatchScoreBreakdown2017 {
26        MatchScoreBreakdown2017 {
27            blue: None,
28            red: None,
29        }
30    }
31}
32
33