pub struct MatchInfo {
pub comment: Option<String>,
pub comment_author: Option<String>,
pub team_home: TeamRef,
pub team_away: TeamRef,
pub score_home: u8,
pub score_away: u8,
}
Fields§
§comment: Option<String>
§team_home: TeamRef
§team_away: TeamRef
§score_home: u8
§score_away: u8
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MatchInfo
impl<'de> Deserialize<'de> for MatchInfo
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<MatchInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MatchInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for MatchInfo
impl Serialize for MatchInfo
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for MatchInfo
impl RefUnwindSafe for MatchInfo
impl Send for MatchInfo
impl Sync for MatchInfo
impl Unpin for MatchInfo
impl UnwindSafe for MatchInfo
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