pub struct EventScore {
pub id: String,
pub sport_key: String,
pub commence_time: String,
pub completed: bool,
pub home_team: String,
pub away_team: String,
pub scores: Option<Vec<TeamScore>>,
}Fields§
§id: String§sport_key: String§commence_time: String§completed: bool§home_team: String§away_team: String§scores: Option<Vec<TeamScore>>Trait Implementations§
Source§impl Clone for EventScore
impl Clone for EventScore
Source§fn clone(&self) -> EventScore
fn clone(&self) -> EventScore
Returns a duplicate of the value. Read more
1.0.0 · 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 EventScore
impl Debug for EventScore
Source§impl<'de> Deserialize<'de> for EventScore
impl<'de> Deserialize<'de> for EventScore
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 EventScore
impl RefUnwindSafe for EventScore
impl Send for EventScore
impl Sync for EventScore
impl Unpin for EventScore
impl UnwindSafe for EventScore
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