core_api: add Default
for Playlist
This commit is contained in:
parent
13397a59f7
commit
ac863c571e
@ -82,7 +82,7 @@ pub enum MpvDataType {
|
||||
}
|
||||
|
||||
/// A mpv playlist.
|
||||
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq, Default, Serialize, Deserialize)]
|
||||
pub struct Playlist(pub Vec<PlaylistEntry>);
|
||||
|
||||
/// A single entry in the mpv playlist.
|
||||
|
Loading…
Reference in New Issue
Block a user