use crate::{
command::{self, Command},
object,
response::Response,
};
use serde::{Deserialize, Serialize};
#[derive(Serialize, Deserialize, Debug)]
pub(crate) struct DeleteObjectCommand {
pub object_id: object::Id,
pub object_type: object::Type,
}
impl Command for DeleteObjectCommand {
type ResponseType = DeleteObjectResponse;
}
#[derive(Serialize, Deserialize, Debug)]
pub(crate) struct DeleteObjectResponse {}
impl Response for DeleteObjectResponse {
const COMMAND_CODE: command::Code = command::Code::DeleteObject;
}