async fn write_outcome(
conn: &mut PgConnection,
claim: &ClaimedRegistration,
decision: &Decision<'_>,
sent_student_number: Option<&StudentNumber>,
transition: &Transition,
) -> CreditRegistrationResult<Applied>Expand description
transition is decision’s move, with the event it is recorded under.