2 objects::person::ApubPerson,
3 protocol::{activities::private_message::delete::DeletePrivateMessage, Unparsed},
5 use activitystreams_kinds::activity::UndoType;
6 use lemmy_apub_lib::object_id::ObjectId;
7 use serde::{Deserialize, Serialize};
10 #[derive(Clone, Debug, Deserialize, Serialize)]
11 #[serde(rename_all = "camelCase")]
12 pub struct UndoDeletePrivateMessage {
13 pub(crate) actor: ObjectId<ApubPerson>,
14 pub(crate) to: [ObjectId<ApubPerson>; 1],
15 pub(crate) object: DeletePrivateMessage,
16 #[serde(rename = "type")]
17 pub(crate) kind: UndoType,
20 pub(crate) unparsed: Unparsed,