feat: add VideoId model
This commit is contained in:
parent
2a4233e5d5
commit
900eb487ce
2 changed files with 63 additions and 2 deletions
|
|
@ -893,6 +893,16 @@ pub struct PlaylistItem {
|
|||
pub video_count: Option<u64>,
|
||||
}
|
||||
|
||||
/// YouTube video identifier
|
||||
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)]
|
||||
#[non_exhaustive]
|
||||
pub struct VideoId {
|
||||
/// Video ID
|
||||
pub id: String,
|
||||
/// Video title
|
||||
pub name: String,
|
||||
}
|
||||
|
||||
/*
|
||||
#MUSIC
|
||||
*/
|
||||
|
|
|
|||
Reference in a new issue