pub fn list_in_genre<U>(
        client: &Client,
        genre: &str,
        page: SearchPage,
        folder_id: U,
    ) -> Result<Vec<Song>>
    where
        U: Into<Option<u64>>,
    {
        let args = Query::with("genre", genre)
            .arg("count", page.count)
            .arg("offset", page.offset)
            .arg("musicFolderId", folder_id.into())
            .build();

        let song = client.get("getSongsByGenre", args)?;
        Ok(get_list_as!(song, Song))
    }
/// Lists all the songs in a provided genre. Supports paging through the
/// result.
///
/// See the [struct level documentation] about paging for more.
///
/// [struct level documentation]: ../search/struct.SearchPage.html
Lists all the songs in a provided genre. Supports paging through the
result.

See the [struct level documentation] about paging for more.


Lists all the songs in a provided genre . Supports paging through the result . See the [ struct level documentation ] about paging for more .
pub fn list_in_genre<U>(
        client: &Client,
        genre: &str,
        page: SearchPage,
        folder_id: U,
    ) -> Result<Vec<Song>>
    where
        U: Into<Option<u64>>,
    {
        let args = Query::with("genre", genre)
            .arg("count", page.count)
            .arg("offset", page.offset)
            .arg("musicFolderId", folder_id.into())
            .build();
        let song = client.get("getSongsByGenre", args)?;
        Ok(get_list_as!(song, Song))
    }
pub fn list_in_genre < U > ( client : & Client , genre : & str , page : SearchPage , folder_id : U , ) -> Result < Vec < Song > > where U : Into < Option < u64 > > , { let args = Query :: with ( " " , genre ) . arg ( " " , page . count ) . arg ( " " , page . offset ) . arg ( " " , folder_id . into ( ) ) . build ( ) ; let song = client . get ( " " , args ) ? ; Ok ( get_list_as ! ( song Song ) ) }
Lists all the songs in a provided genre.
Lists all the songs in a provided genre .
client
&Client
genre
&str
page
SearchPage
folder_id
U
client
&Client
genre
&str
page
SearchPage
folder_id
U