pub enum AdvisoryRating {
Clean,
Inoffensive,
Explicit(u8),
}
Expand description
Represents the parental advisory rating on the track, stored within the ‘rtng’ atom.
Variants§
Clean
Clean is always stored as 2 in an ‘rtng’ atom.
Inoffensive
A value of 0 in an ‘rtng’ atom indicates ‘Inoffensive’
Explicit(u8)
Any non 2 or 0 value in ‘rtng’ indicates the track is explicit.
Trait Implementations§
Source§impl Clone for AdvisoryRating
impl Clone for AdvisoryRating
Source§fn clone(&self) -> AdvisoryRating
fn clone(&self) -> AdvisoryRating
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AdvisoryRating
impl Debug for AdvisoryRating
Source§impl PartialEq for AdvisoryRating
impl PartialEq for AdvisoryRating
impl Eq for AdvisoryRating
impl StructuralPartialEq for AdvisoryRating
Auto Trait Implementations§
impl Freeze for AdvisoryRating
impl RefUnwindSafe for AdvisoryRating
impl Send for AdvisoryRating
impl Sync for AdvisoryRating
impl Unpin for AdvisoryRating
impl UnwindSafe for AdvisoryRating
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