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
Trait Implementations§
source§impl PartialEq for Chapter
impl PartialEq for Chapter
impl Eq for Chapter
impl StructuralEq for Chapter
impl StructuralPartialEq for Chapter
Auto Trait Implementations§
impl RefUnwindSafe for Chapter
impl Send for Chapter
impl Sync for Chapter
impl Unpin for Chapter
impl UnwindSafe for Chapter
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more