1
use serde::{Deserialize, Serialize};
2

            
3
use crate::{
4
    commands::{Command, CommandResponse, ResponseParserError, empty_command_request},
5
    response_tokenizer::ResponseAttributes,
6
    types::Uri,
7
};
8

            
9
pub struct Playlist;
10

            
11
empty_command_request!(Playlist, "playlist");
12

            
13
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
14
pub struct PlaylistResponse(Vec<Uri>);
15

            
16
impl PlaylistResponse {
17
    pub fn new(items: Vec<Uri>) -> Self {
18
        PlaylistResponse(items)
19
    }
20
}
21

            
22
impl CommandResponse for PlaylistResponse {
23
    fn into_response_enum(self) -> crate::Response {
24
        todo!()
25
    }
26

            
27
    fn from_response_enum(response: crate::Response) -> Option<Self> {
28
        todo!()
29
    }
30

            
31
    fn parse(parts: ResponseAttributes<'_>) -> Result<Self, ResponseParserError> {
32
        unimplemented!()
33
    }
34
}
35

            
36
impl Command for Playlist {
37
    type Request = PlaylistRequest;
38
    type Response = PlaylistResponse;
39
}