pub struct MatchInfo {
pub center_bottom: String,
pub center_top: Vec<String>,
pub left_team: TeamInfo,
pub right_team: TeamInfo,
pub status: i64,
pub sub_title: String,
pub title: String,
}Fields§
§center_bottom: String中间区域底部的信息
center_top: Vec<String>中间区域顶部的信息,会循环显示,可能用来显示比分或时间
left_team: TeamInfo右边队伍的信息
right_team: TeamInfo左边队伍的信息
status: i64比赛状态,2: 进行中 (文字高亮)
sub_title: String副标题
title: String标题
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MatchInfo
impl<'de> Deserialize<'de> for MatchInfo
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 MatchInfo
Auto Trait Implementations§
impl Freeze for MatchInfo
impl RefUnwindSafe for MatchInfo
impl Send for MatchInfo
impl Sync for MatchInfo
impl Unpin for MatchInfo
impl UnsafeUnpin 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