tba_openapi_rust/models/match_videos_inner.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 MatchVideosInner {
16 /// Can be one of 'youtube' or 'tba'
17 #[serde(rename = "type", skip_serializing_if = "Option::is_none")]
18 pub r#type: Option<String>,
19 /// Unique key representing this video
20 #[serde(rename = "key", skip_serializing_if = "Option::is_none")]
21 pub key: Option<String>,
22}
23
24impl MatchVideosInner {
25 pub fn new() -> MatchVideosInner {
26 MatchVideosInner {
27 r#type: None,
28 key: None,
29 }
30 }
31}
32
33