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