Skip to main content

contest_list

Function contest_list 

Source
pub fn contest_list(
    contests: &[Slate],
    teams: &[ScoredFantasyTeam],
    now: OffsetDateTime,
) -> Vec<ContestRow>
Expand description

Fold contests and scored fantasy teams into display rows, newest first. Winners show only once a contest has finished.