use serde::{Deserialize, Serialize}; use crate::{ commands::{Command, CommandResponse, ResponseParserError, empty_command_request}, response_tokenizer::ResponseAttributes, types::Uri, }; pub struct Playlist; empty_command_request!(Playlist, "playlist"); #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] pub struct PlaylistResponse(Vec); impl CommandResponse for PlaylistResponse { fn into_response_enum(self) -> crate::Response { todo!() } fn from_response_enum(response: crate::Response) -> Option { todo!() } fn parse(parts: ResponseAttributes<'_>) -> Result { unimplemented!() } } impl Command for Playlist { type Request = PlaylistRequest; type Response = PlaylistResponse; }