1 use crate::{objects::person::ApubPerson, protocol::activities::following::follow::Follow};
2 use activitypub_federation::core::object_id::ObjectId;
3 use activitystreams_kinds::activity::UndoType;
4 use serde::{Deserialize, Serialize};
7 #[derive(Clone, Debug, Deserialize, Serialize)]
8 #[serde(rename_all = "camelCase")]
9 pub struct UndoFollow {
10 pub(crate) actor: ObjectId<ApubPerson>,
11 pub(crate) object: Follow,
12 #[serde(rename = "type")]
13 pub(crate) kind: UndoType,