pub struct MatchResult {
pub id: u32,
pub winner: WhichTeam,
pub team1: String,
pub team2: String,
pub score: Score,
pub event: String,
pub format: MatchFormat,
}Expand description
Contains a summary of a concluded match (reference).
Fields§
§id: u32§winner: WhichTeamEnum which Team won
team1: StringName of team 1. The result page doesn’t contain team IDs unfortunately.
team2: StringName of team 2. The result page doesn’t contain team IDs unfortunately.
score: ScoreEither a match score for bo3 and higher, or a map score for bo1s.
event: StringName of the event
format: MatchFormatFormat of a match. For example, if the format is Bo1,
then only one map is played and the result is either a 1-0 or 0-1.
Trait Implementations§
Source§impl Debug for MatchResult
impl Debug for MatchResult
Source§impl PartialEq for MatchResult
impl PartialEq for MatchResult
impl StructuralPartialEq for MatchResult
Auto Trait Implementations§
impl Freeze for MatchResult
impl RefUnwindSafe for MatchResult
impl Send for MatchResult
impl Sync for MatchResult
impl Unpin for MatchResult
impl UnwindSafe for MatchResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more