pub struct MatchDetail {
pub summary: Match,
pub events: Vec<MatchEvent>,
pub lineups: Vec<Lineup>,
pub stats: Vec<TeamStat>,
}Expand description
Full detail for a single match: the fixture plus timeline, lineups, stats.
Fields§
§summary: MatchThe fixture summary (teams, score, status).
events: Vec<MatchEvent>Timeline events, ordered chronologically.
lineups: Vec<Lineup>Lineups, typically one per team when available.
stats: Vec<TeamStat>Comparable team statistics.
Trait Implementations§
Source§impl Clone for MatchDetail
impl Clone for MatchDetail
Source§fn clone(&self) -> MatchDetail
fn clone(&self) -> MatchDetail
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MatchDetail
impl Debug for MatchDetail
Source§impl<'de> Deserialize<'de> for MatchDetail
impl<'de> Deserialize<'de> for MatchDetail
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 MatchDetail
Source§impl PartialEq for MatchDetail
impl PartialEq for MatchDetail
Source§fn eq(&self, other: &MatchDetail) -> bool
fn eq(&self, other: &MatchDetail) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MatchDetail
impl Serialize for MatchDetail
impl StructuralPartialEq for MatchDetail
Auto Trait Implementations§
impl Freeze for MatchDetail
impl RefUnwindSafe for MatchDetail
impl Send for MatchDetail
impl Sync for MatchDetail
impl Unpin for MatchDetail
impl UnsafeUnpin for MatchDetail
impl UnwindSafe for MatchDetail
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