☰
headless_lms_models
0.1.0
Module chapters
Structs
Enums
Functions
In crate headless_lms_models
?
Module
headless_lms_models
::
chapters
source
·
[
−
]
Structs
Chapter
ChapterInfo
ChapterPagesWithExercises
ChapterUpdate
ChapterWithStatus
DatabaseChapter
NewChapter
UserCourseInstanceChapterProgress
Enums
ChapterStatus
Functions
course_chapters
course_instance_chapters
delete_chapter
get_chapter
get_chapter_by_page_id
get_chapter_info_by_page_metadata
get_course_id
get_for_module
get_user_course_instance_chapter_progress
insert
is_open
Checks the opens_at field for the chapter and compares it to the current time. If null, the chapter is always open.
set_front_page
set_module
set_opens_at
update_chapter
update_chapter_image_path