pub enum MetadataField {
Show 23 variants
Title,
Artist,
Album,
AlbumArtist,
Genre,
ReleaseDate,
ReleaseYear,
Composer,
TrackNumber,
TrackTotal,
DiscNumber,
DiscTotal,
CoverArt,
Isrc,
Copyright,
Label,
MediaType,
Comment,
Producer,
InvolvedPeople,
Explicit,
Upc,
Url,
}Expand description
Metadata fields that can be embedded in audio files.
Variants§
Title
Track title.
Artist
Artist name.
Album
Album title.
AlbumArtist
Album artist.
Genre
Genre.
ReleaseDate
Full release date (YYYY-MM-DD).
ReleaseYear
Release year only.
Composer
Composer.
TrackNumber
Track number.
TrackTotal
Total tracks in album.
DiscNumber
Disc number.
DiscTotal
Total discs in album.
CoverArt
Cover art image.
Isrc
ISRC code.
Copyright
Copyright notice.
Label
Record label.
MediaType
Original media type (album, compilation, etc.).
Comment
Comment field.
Producer
Producer.
InvolvedPeople
Involved people / musician credits.
Explicit
Explicit content flag.
Upc
Universal Product Code.
Url
Commercial URL.
Trait Implementations§
Source§impl Clone for MetadataField
impl Clone for MetadataField
Source§fn clone(&self) -> MetadataField
fn clone(&self) -> MetadataField
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 moreimpl Copy for MetadataField
Source§impl Debug for MetadataField
impl Debug for MetadataField
impl Eq for MetadataField
Source§impl Hash for MetadataField
impl Hash for MetadataField
Source§impl PartialEq for MetadataField
impl PartialEq for MetadataField
impl StructuralPartialEq for MetadataField
Auto Trait Implementations§
impl Freeze for MetadataField
impl RefUnwindSafe for MetadataField
impl Send for MetadataField
impl Sync for MetadataField
impl Unpin for MetadataField
impl UnsafeUnpin for MetadataField
impl UnwindSafe for MetadataField
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more