16 lines
339 B
Rust
16 lines
339 B
Rust
use crate::{
|
|
commands::{Command, empty_command_response, single_optional_item_command_request},
|
|
types::SongPosition,
|
|
};
|
|
|
|
pub struct Play;
|
|
|
|
single_optional_item_command_request!(Play, "play", SongPosition);
|
|
|
|
empty_command_response!(Play);
|
|
|
|
impl Command for Play {
|
|
type Request = PlayRequest;
|
|
type Response = PlayResponse;
|
|
}
|