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