mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-11-29 15:01:10 +00:00
Remove unused Hashtag
This commit is contained in:
parent
e41fa353e4
commit
2fe2505a01
1 changed files with 0 additions and 17 deletions
|
@ -372,23 +372,6 @@ where
|
||||||
pub type CustomPerson = Ext1<ApActor<Person>, ApSignature07>;
|
pub type CustomPerson = Ext1<ApActor<Person>, ApSignature07>;
|
||||||
pub type CustomGroup = Ext2<ApActor<Group>, ApSignature07, SourceProperty>;
|
pub type CustomGroup = Ext2<ApActor<Group>, 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<serde_json::Value>,
|
|
||||||
|
|
||||||
#[activitystreams(concrete(String), functional)]
|
|
||||||
pub name: Option<serde_json::Value>,
|
|
||||||
}
|
|
||||||
|
|
||||||
kind!(HashtagType07, Hashtag);
|
kind!(HashtagType07, Hashtag);
|
||||||
|
|
||||||
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
|
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
|
||||||
|
|
Loading…
Reference in a new issue