pub fn albums(&self, client: &Client) -> Result<Vec<Album>> {
        if self.albums.len() != self.album_count {
            Ok(self::get_artist(client, self.id)?.albums)
        } else {
            Ok(self.albums.clone())
        }
    }
/// Returns a list of albums released by the artist.
Returns a list of albums released by the artist.
Returns a list of albums released by the artist .
pub fn albums(&self, client: &Client) -> Result<Vec<Album>> {
        if self.albums.len() != self.album_count {
            Ok(self::get_artist(client, self.id)?.albums)
        } else {
            Ok(self.albums.clone())
        }
    }
pub fn albums ( & self , client : & Client ) -> Result < Vec < Album > > { if self . albums . len ( ) != self . album_count { Ok ( self :: get_artist ( client , self . id ) ? . albums ) } else { Ok ( self . albums . clone ( ) ) } }
Returns a list of albums released by the artist.
Returns a list of albums released by the artist .
&self
client
&Client
&self
client
&Client