pub enum LibraryId<'a> {
Track(TrackId<'a>),
Album(AlbumId<'a>),
Episode(EpisodeId<'a>),
Show(ShowId<'a>),
Artist(ArtistId<'a>),
User(UserId<'a>),
Playlist(PlaylistId<'a>),
}Expand description
Variants§
Track(TrackId<'a>)
Album(AlbumId<'a>)
Episode(EpisodeId<'a>)
Show(ShowId<'a>)
Artist(ArtistId<'a>)
User(UserId<'a>)
Playlist(PlaylistId<'a>)
Implementations§
Trait Implementations§
Source§impl<'a> From<PlaylistId<'a>> for LibraryId<'a>
impl<'a> From<PlaylistId<'a>> for LibraryId<'a>
Source§fn from(v: PlaylistId<'a>) -> LibraryId<'a>
fn from(v: PlaylistId<'a>) -> LibraryId<'a>
Converts to this type from the input type.
Source§impl<'a> Id for LibraryId<'a>
impl<'a> Id for LibraryId<'a>
Source§impl<'a> TryInto<PlaylistId<'a>> for LibraryId<'a>
impl<'a> TryInto<PlaylistId<'a>> for LibraryId<'a>
impl<'a> Eq for LibraryId<'a>
impl<'a> StructuralPartialEq for LibraryId<'a>
Auto Trait Implementations§
impl<'a> Freeze for LibraryId<'a>
impl<'a> RefUnwindSafe for LibraryId<'a>
impl<'a> Send for LibraryId<'a>
impl<'a> Sync for LibraryId<'a>
impl<'a> Unpin for LibraryId<'a>
impl<'a> UnsafeUnpin for LibraryId<'a>
impl<'a> UnwindSafe for LibraryId<'a>
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