aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2024-10-29 20:19:33 +0100
committerHarald Eilertsen <haraldei@anduin.net>2024-10-29 20:19:33 +0100
commit9b74eed77d950745c6fd5f968b153f331867655d (patch)
treee653b596919450dcc86331c8bf596052692be7bf
parentda23e23b7bfeee4087eef799ce8b52d927c2a38b (diff)
downloadrust-zotapi-9b74eed77d950745c6fd5f968b153f331867655d.tar.gz
rust-zotapi-9b74eed77d950745c6fd5f968b153f331867655d.tar.bz2
rust-zotapi-9b74eed77d950745c6fd5f968b153f331867655d.zip
Add support for category tags in stream.
-rw-r--r--src/stream/tag.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stream/tag.rs b/src/stream/tag.rs
index 36874c2..45e3aa5 100644
--- a/src/stream/tag.rs
+++ b/src/stream/tag.rs
@@ -17,6 +17,9 @@ pub enum TagType {
#[serde(alias = "mention")]
Mention,
+
+ #[serde(alias = "category")]
+ Category,
}
#[derive(Debug, Deserialize, PartialEq)]