2 fetcher::object_id::ObjectId,
3 objects::person::ApubPerson,
4 protocol::activities::deletion::delete::Delete,
6 use activitystreams::{activity::kind::UndoType, unparsed::Unparsed};
7 use serde::{Deserialize, Serialize};
10 #[derive(Clone, Debug, Deserialize, Serialize)]
11 #[serde(rename_all = "camelCase")]
12 pub struct UndoDelete {
13 pub(crate) actor: ObjectId<ApubPerson>,
14 pub(crate) to: Vec<Url>,
15 pub(crate) object: Delete,
16 pub(crate) cc: Vec<Url>,
17 #[serde(rename = "type")]
18 pub(crate) kind: UndoType,
21 pub(crate) unparsed: Unparsed,