pub struct ContestDetails {
pub name: String,
pub games: Vec<GameRow>,
pub rows: Vec<EntryRow>,
pub waiting: Vec<WaitingRow>,
pub upcoming: Option<Upcoming>,
pub my_entry: Option<EntryId>,
pub entries_open: bool,
pub score: ContestScoreMeta,
}Expand description
Everything the contest details page shows.
Fields§
§name: String§games: Vec<GameRow>The slate, shown only before its first kickoff. Once the games are under way the entry rows carry the contest.
rows: Vec<EntryRow>§waiting: Vec<WaitingRow>League teams with no entry yet, empty outside the pre-kickoff window.
upcoming: Option<Upcoming>The pre-kickoff header. Some exactly while the slate is upcoming —
the same window in which games is non-empty.
my_entry: Option<EntryId>The viewer’s committed entry, when their team entered this contest.
entries_open: boolWhether lineups may still be entered: the slate has games and has not kicked off.
score: ContestScoreMetaAuto Trait Implementations§
impl Freeze for ContestDetails
impl RefUnwindSafe for ContestDetails
impl Send for ContestDetails
impl Sync for ContestDetails
impl Unpin for ContestDetails
impl UnsafeUnpin for ContestDetails
impl UnwindSafe for ContestDetails
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more