pub fn id(&self) -> &dyn PlayableId {
        match self {
            PlayableItem::Track(t) => &t.id,
            PlayableItem::Episode(e) => &e.id,
        }
    }
/// Utility to get the ID from either variant in the enum
Utility to get the ID from either variant in the enum
Utility to get the ID from either variant in the enum
pub fn id(&self) -> &dyn PlayableId {
        match self {
            PlayableItem::Track(t) => &t.id,
            PlayableItem::Episode(e) => &e.id,
        }
    }
pub fn id ( & self ) -> & dyn PlayableId { match self { PlayableItem :: Track ( t ) => & t . id , PlayableItem :: Episode ( e ) => & e . id , } }
Utility to get the ID from either variant in the enum
Utility to get the ID from either variant in the enum
&self
&self