pub struct Match {
pub id: String,
pub stage: Stage,
pub group: Option<String>,
pub home: Team,
pub away: Team,
pub score: Option<Score>,
pub status: MatchStatus,
pub kickoff: OffsetDateTime,
pub venue: Option<String>,
}Expand description
A single fixture.
Fields§
§id: StringProvider-specific identifier used to fetch detail.
stage: StageTournament stage.
group: Option<String>Group letter (“A”..“L”) for group-stage matches.
home: TeamHome team.
away: TeamAway team.
score: Option<Score>Current score, if the match has started.
status: MatchStatusMatch status.
kickoff: OffsetDateTimeKickoff time in UTC.
venue: Option<String>Venue name, where available.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Match
impl<'de> Deserialize<'de> for Match
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Match
impl StructuralPartialEq for Match
Auto Trait Implementations§
impl Freeze for Match
impl RefUnwindSafe for Match
impl Send for Match
impl Sync for Match
impl Unpin for Match
impl UnsafeUnpin for Match
impl UnwindSafe for Match
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