pub struct Match {Show 13 fields
pub key: String,
pub comp_level: CompLevel,
pub set_number: i32,
pub match_number: i32,
pub alliances: Option<Box<MatchSimpleAlliances>>,
pub winning_alliance: Option<WinningAlliance>,
pub event_key: String,
pub time: Option<i64>,
pub actual_time: Option<i64>,
pub predicted_time: Option<i64>,
pub post_result_time: Option<i64>,
pub score_breakdown: Option<Value>,
pub videos: Option<Vec<MatchVideosInner>>,
}
Fields§
§key: String
TBA match key with the format yyyy[EVENT_CODE]_[COMP_LEVEL]m[MATCH_NUMBER]
, where yyyy
is the year, and EVENT_CODE
is the event code of the event, COMP_LEVEL
is (qm, ef, qf, sf, f), and MATCH_NUMBER
is the match number in the competition level. A set number may be appended to the competition level if more than one match in required per set.
comp_level: CompLevel
The competition level the match was played at.
set_number: i32
The set number in a series of matches where more than one match is required in the match series.
match_number: i32
The match number of the match in the competition level.
alliances: Option<Box<MatchSimpleAlliances>>
§winning_alliance: Option<WinningAlliance>
The color (red/blue) of the winning alliance. Will contain an empty string in the event of no winner, or a tie.
event_key: String
Event key of the event the match was played at.
time: Option<i64>
UNIX timestamp (seconds since 1-Jan-1970 00:00:00) of the scheduled match time, as taken from the published schedule.
actual_time: Option<i64>
UNIX timestamp (seconds since 1-Jan-1970 00:00:00) of actual match start time.
predicted_time: Option<i64>
UNIX timestamp (seconds since 1-Jan-1970 00:00:00) of the TBA predicted match start time.
post_result_time: Option<i64>
UNIX timestamp (seconds since 1-Jan-1970 00:00:00) when the match result was posted.
score_breakdown: Option<Value>
Score breakdown for auto, teleop, etc. points. Varies from year to year. May be null.
videos: Option<Vec<MatchVideosInner>>
Array of video objects associated with this match.