pub struct Fixture {
pub id: String,
pub competition_id: String,
pub group: Option<String>,
pub kickoff: String,
pub home_team: Team,
pub away_team: Team,
pub venue: Option<String>,
pub status: FixtureStatus,
pub score: Option<Score>,
}Expand description
A scheduled or completed match, covering both single-table league fixtures and group-stage/knockout fixtures using the same shape.
Fields§
§id: StringCanonical fixture identifier, stable across providers.
competition_id: String§group: Option<String>Named group this fixture belongs to (e.g. “Group A”), absent for single-table league formats.
kickoff: StringKickoff time as an RFC 3339 timestamp.
home_team: Team§away_team: Team§venue: Option<String>§status: FixtureStatus§score: Option<Score>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Fixture
impl<'de> Deserialize<'de> for Fixture
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 StructuralPartialEq for Fixture
Auto Trait Implementations§
impl Freeze for Fixture
impl RefUnwindSafe for Fixture
impl Send for Fixture
impl Sync for Fixture
impl Unpin for Fixture
impl UnsafeUnpin for Fixture
impl UnwindSafe for Fixture
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