use crate::{
audit::*,
command::{self, Command},
response::Response,
};
use serde::{Deserialize, Serialize};
#[derive(Serialize, Deserialize, Debug)]
pub(crate) struct SetOptionCommand {
pub tag: AuditTag,
pub length: u16,
pub value: Vec<u8>,
}
impl Command for SetOptionCommand {
type ResponseType = PutOptionResponse;
}
#[derive(Serialize, Deserialize, Debug)]
pub(crate) struct PutOptionResponse {}
impl Response for PutOptionResponse {
const COMMAND_CODE: command::Code = command::Code::SetOption;
}