From 2fe2505a017d9276dde0712f42c13224eccfd946 Mon Sep 17 00:00:00 2001 From: Kitaiti Makoto Date: Tue, 3 May 2022 00:09:15 +0900 Subject: [PATCH] Remove unused Hashtag --- plume-common/src/activity_pub/mod.rs | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/plume-common/src/activity_pub/mod.rs b/plume-common/src/activity_pub/mod.rs index 5edab856..755d4e17 100644 --- a/plume-common/src/activity_pub/mod.rs +++ b/plume-common/src/activity_pub/mod.rs @@ -372,23 +372,6 @@ where pub type CustomPerson = Ext1, ApSignature07>; pub type CustomGroup = Ext2, ApSignature07, SourceProperty>; -#[derive(Clone, Debug, Default, UnitString)] -#[activitystreams(Hashtag)] -pub struct HashtagType; - -#[derive(Clone, Debug, Default, Deserialize, Serialize, Properties)] -#[serde(rename_all = "camelCase")] -pub struct Hashtag { - #[serde(rename = "type")] - kind: HashtagType, - - #[activitystreams(concrete(String), functional)] - pub href: Option, - - #[activitystreams(concrete(String), functional)] - pub name: Option, -} - kind!(HashtagType07, Hashtag); #[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]