feat: add music search suggested items
This commit is contained in:
parent
331a13568a
commit
1d56b9c9a0
8 changed files with 1016 additions and 150 deletions
|
|
@ -1278,3 +1278,13 @@ pub struct MusicGenreSection {
|
|||
/// List of playlists of the genre section
|
||||
pub playlists: Vec<MusicPlaylistItem>,
|
||||
}
|
||||
|
||||
/// YouTube Music suggested search terms/items
|
||||
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)]
|
||||
#[non_exhaustive]
|
||||
pub struct MusicSearchSuggestion {
|
||||
/// Suggested search terms
|
||||
pub terms: Vec<String>,
|
||||
/// Suggested music items
|
||||
pub items: Vec<MusicItem>,
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue