headless_lms_models::library::progressing

Function check_and_insert_suspected_cheaters

Source
pub async fn check_and_insert_suspected_cheaters(
    conn: &mut PgConnection,
    user_id: Uuid,
    course_id: Uuid,
    course_instance_id: Uuid,
    thresholds: &Threshold,
    completion: CourseModuleCompletion,
) -> ModelResult<()>