pub struct TrackEdits {
pub title: String,
pub artist: String,
pub album: String,
pub track_number: Option<u32>,
pub disc_number: Option<u32>,
pub cover: CoverChange,
}Expand description
User-supplied edits to a track’s tags. Empty strings / None mean
“remove this tag from the file”. Produced by the metadata editor UI and
consumed by crate::metadata::write_tags.
Fields§
§title: String§artist: String§album: String§track_number: Option<u32>§disc_number: Option<u32>§cover: CoverChangeTrait Implementations§
Source§impl Clone for TrackEdits
impl Clone for TrackEdits
Source§fn clone(&self) -> TrackEdits
fn clone(&self) -> TrackEdits
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TrackEdits
impl Debug for TrackEdits
Source§impl Default for TrackEdits
impl Default for TrackEdits
Source§fn default() -> TrackEdits
fn default() -> TrackEdits
Returns the “default value” for a type. Read more
Source§impl PartialEq for TrackEdits
impl PartialEq for TrackEdits
Source§fn eq(&self, other: &TrackEdits) -> bool
fn eq(&self, other: &TrackEdits) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TrackEdits
Auto Trait Implementations§
impl Freeze for TrackEdits
impl RefUnwindSafe for TrackEdits
impl Send for TrackEdits
impl Sync for TrackEdits
impl Unpin for TrackEdits
impl UnsafeUnpin for TrackEdits
impl UnwindSafe for TrackEdits
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