async fn get_waiting(
conn: &mut PgConnection,
course_id: Option<Uuid>,
course_codes: &[String],
served_until: &[DateTime<Utc>],
account_linking_since: Option<DateTime<Utc>>,
) -> ModelResult<HashMap<String, CodeWaiting>>Expand description
The people waiting on each code, their rungs and presses counted after the code’s
served_until.