pub struct Chapter {
pub uid: u64,
pub time_start: Duration,
pub time_end: Option<Duration>,
pub hidden: bool,
pub enabled: bool,
pub segment_uid: Option<Vec<u8>>,
pub segment_edition_uid: Option<u64>,
pub display: Vec<ChapterDisplay>,
}
Expand description
An individual chapter point
Fields§
§uid: u64
The chapter’s UID
time_start: Duration
Timestamp of the start of the chapter
time_end: Option<Duration>
Timestamp of the end of the chapter
Whether the chapter point should be hidden in the user interface
enabled: bool
Whether the chapter point should be enabled in the user interface
segment_uid: Option<Vec<u8>>
Unique ID of the segment to be played during this chapter
segment_edition_uid: Option<u64>
Unique ID of the edition to play from the linked segment
display: Vec<ChapterDisplay>
Contains all strings to use for displaying chapter