2 objects::{community::ApubCommunity, person::ApubPerson},
5 use activitystreams_kinds::activity::BlockType;
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 BlockUserFromCommunity {
13 pub(crate) actor: ObjectId<ApubPerson>,
14 pub(crate) to: Vec<Url>,
15 pub(crate) object: ObjectId<ApubPerson>,
16 pub(crate) cc: Vec<Url>,
17 pub(crate) target: ObjectId<ApubCommunity>,
18 #[serde(rename = "type")]
19 pub(crate) kind: BlockType,
22 pub(crate) unparsed: Unparsed,