tba_openapi_rust/models/
elimination_alliance_backup.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/// EliminationAllianceBackup : Backup team called in, may be null.
12
13
14
15#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
16pub struct EliminationAllianceBackup {
17    /// Team key that was called in as the backup.
18    #[serde(rename = "in", skip_serializing_if = "Option::is_none")]
19    pub r#in: Option<String>,
20    /// Team key that was replaced by the backup team.
21    #[serde(rename = "out", skip_serializing_if = "Option::is_none")]
22    pub out: Option<String>,
23}
24
25impl EliminationAllianceBackup {
26    /// Backup team called in, may be null.
27    pub fn new() -> EliminationAllianceBackup {
28        EliminationAllianceBackup {
29            r#in: None,
30            out: None,
31        }
32    }
33}
34
35