pub struct WriteConfig {
pub write_meta_items: bool,
pub write_chapter_list: bool,
pub write_chapter_track: bool,
pub chpl_timescale: ChplTimescale,
}Expand description
Configure which metadata is (over)written.
The item list stores tags such as the artist, album, title, and also the cover art of a song. And there are two separate ways of storing chapter information:
- A chapter list
- A chapter track
Fields§
§write_meta_items: boolWhether to overwrite the metadata item list.
write_chapter_list: boolWhether to overwrite chapter list information.
write_chapter_track: boolWhether to overwrite chapter track information.
chpl_timescale: ChplTimescaleThe timescale that is used to scale time for chapter list (chpl) atoms.
Implementations§
Source§impl WriteConfig
impl WriteConfig
Sourcepub const DEFAULT: WriteConfig
pub const DEFAULT: WriteConfig
The default configuration for writing tags.
Trait Implementations§
Source§impl Clone for WriteConfig
impl Clone for WriteConfig
Source§fn clone(&self) -> WriteConfig
fn clone(&self) -> WriteConfig
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WriteConfig
impl Debug for WriteConfig
Source§impl Default for WriteConfig
impl Default for WriteConfig
Source§impl PartialEq for WriteConfig
impl PartialEq for WriteConfig
impl Eq for WriteConfig
impl StructuralPartialEq for WriteConfig
Auto Trait Implementations§
impl Freeze for WriteConfig
impl RefUnwindSafe for WriteConfig
impl Send for WriteConfig
impl Sync for WriteConfig
impl Unpin for WriteConfig
impl UnwindSafe for WriteConfig
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