Skip to main content

enrolment_id_for_course

Function enrolment_id_for_course 

Source
pub fn enrolment_id_for_course(
    student_number: &str,
    course_code: &str,
    kind: RealisationKind,
) -> String
Expand description

Per (student, course, kind): a person enrolled in more than one realisation of the same kind at once needs an id enrolment_id cannot give them, since that one is keyed on (student, kind) alone.