18 lines
407 B
Rust
18 lines
407 B
Rust
use crate::{
|
|
commands::{
|
|
Command, RequestParserError, empty_command_response, single_optional_item_command_request,
|
|
},
|
|
common::types::OneOrRange,
|
|
};
|
|
|
|
pub struct Shuffle;
|
|
|
|
single_optional_item_command_request!(Shuffle, "shuffle", OneOrRange);
|
|
|
|
empty_command_response!(Shuffle);
|
|
|
|
impl Command<'_, '_> for Shuffle {
|
|
type Request = ShuffleRequest;
|
|
type Response = ShuffleResponse;
|
|
}
|