pub fn songs(&self, client: &Client) -> Result<Vec<Song>> {
        if self.songs.len() as u64 != self.song_count {
            Ok(get_playlist(client, self.id)?.songs)
        } else {
            Ok(self.songs.clone())
        }
    }
/// Fetches the songs contained in a playlist.
Fetches the songs contained in a playlist.
Fetches the songs contained in a playlist .
pub fn songs(&self, client: &Client) -> Result<Vec<Song>> {
        if self.songs.len() as u64 != self.song_count {
            Ok(get_playlist(client, self.id)?.songs)
        } else {
            Ok(self.songs.clone())
        }
    }
pub fn songs ( & self , client : & Client ) -> Result < Vec < Song > > { if self . songs . len ( ) as u64 != self . song_count { Ok ( get_playlist ( client , self . id ) ? . songs ) } else { Ok ( self . songs . clone ( ) ) } }
Fetches the songs contained in a playlist.
Fetches the songs contained in a playlist .
&self
client
&Client
&self
client
&Client