get_by_user_and_chapter

Function get_by_user_and_chapter 

Source
pub async fn get_by_user_and_chapter(
    conn: &mut PgConnection,
    user_id: Uuid,
    chapter_id: Uuid,
    course_id: Option<Uuid>,
    course_locking_enabled: Option<bool>,
) -> ModelResult<Option<UserChapterLockingStatus>>