Remove unused Hashtag
This commit is contained in:
parent
e41fa353e4
commit
2fe2505a01
@ -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 New Issue
Block a user