#[non_exhaustive]pub enum Field {
Show 14 variants
Title,
Artist,
AlbumArtist,
Album,
Composer,
Conductor,
Genre,
Date,
Disc,
Grouping,
Publisher,
Copyright,
Isrc,
Comment,
}Expand description
A well-known field of a track’s tag.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Title
Track title (TIT2).
Artist
Lead artist (TPE1).
AlbumArtist
Album artist (TPE2).
Album
Album title (TALB).
Composer
Composer (TCOM).
Conductor
Conductor (TPE3).
Genre
Genre (TCON).
Date
Recording date (TDRC; TYER in ID3v2.3 tags).
Disc
Disc number, "n" or "n/total" (TPOS).
Grouping
Content group, such as a work or movement (TIT1; GRP1 in some tags).
Publisher
Label or publisher (TPUB).
Copyright
Copyright message (TCOP).
Isrc
International Standard Recording Code (TSRC).
Comment
General comment (COMM with an empty description).
Implementations§
Trait Implementations§
impl Copy for Field
impl Eq for Field
Source§impl Ord for Field
impl Ord for Field
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Field
impl PartialOrd for Field
impl StructuralPartialEq for Field
Auto Trait Implementations§
impl Freeze for Field
impl RefUnwindSafe for Field
impl Send for Field
impl Sync for Field
impl Unpin for Field
impl UnsafeUnpin for Field
impl UnwindSafe for Field
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