pub struct Artist { /* private fields */ }
Implementations§
Source§impl Artist
impl Artist
Sourcepub async fn full_studio_albums(&self) -> Result<Vec<MusicAlbum>>
pub async fn full_studio_albums(&self) -> Result<Vec<MusicAlbum>>
Retrieves all of the fully-featured studio albums (skipping Lives, EPs, etc.) by this artist.
Sourcepub async fn albums(&self) -> Result<Vec<MusicAlbum>>
pub async fn albums(&self) -> Result<Vec<MusicAlbum>>
Retrieves all of the albums by this artist.
Trait Implementations§
Source§impl FromMetadata for Artist
impl FromMetadata for Artist
Source§fn from_metadata(client: HttpClient, metadata: Metadata) -> Self
fn from_metadata(client: HttpClient, metadata: Metadata) -> Self
Creates an item given the http configuration and item metadata. No
validation is performed that the metadata is correct.
Source§impl MetadataItem for Artist
impl MetadataItem for Artist
Auto Trait Implementations§
impl !Freeze for Artist
impl !RefUnwindSafe for Artist
impl Send for Artist
impl Sync for Artist
impl Unpin for Artist
impl !UnwindSafe for Artist
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