pub struct Match {
pub id: String,
pub period: usize,
pub time: Option<usize>,
pub status: Status,
pub comp: Competition,
pub date: DateTime<Utc>,
pub home: Team,
pub away: Team,
pub score: Option<HashMap<ScoreKey, Score>>,
pub events: Option<Vec<Event>>,
pub updated: DateTime<Utc>,
}Fields§
§id: String§period: usize1: first half 2: second half 3: first half of extra time 4: second half of extra time 5: penalties 10: half time 14: full time 16: yet to start
time: Option<usize>§status: Status§comp: Competition§date: DateTime<Utc>§home: Team§away: Team§score: Option<HashMap<ScoreKey, Score>>§events: Option<Vec<Event>>§updated: DateTime<Utc>Implementations§
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
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