aboutsummaryrefslogtreecommitdiffstats
path: root/src/stream/activity.rs
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2024-10-30 10:05:24 +0100
committerHarald Eilertsen <haraldei@anduin.net>2024-10-30 10:05:24 +0100
commit7daf82cb395e3612736eebae3fe699dae6d790b1 (patch)
treef745a7106ec9db0bfb2909048d5730cd6583d625 /src/stream/activity.rs
parent7c680c033a4323be13a769f380f186677d1f89ba (diff)
downloadrust-zotapi-7daf82cb395e3612736eebae3fe699dae6d790b1.tar.gz
rust-zotapi-7daf82cb395e3612736eebae3fe699dae6d790b1.tar.bz2
rust-zotapi-7daf82cb395e3612736eebae3fe699dae6d790b1.zip
stream::Activity: Add some more object types.
Diffstat (limited to 'src/stream/activity.rs')
-rw-r--r--src/stream/activity.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stream/activity.rs b/src/stream/activity.rs
index c247477..38c7215 100644
--- a/src/stream/activity.rs
+++ b/src/stream/activity.rs
@@ -30,7 +30,9 @@ pub enum ActivityEncoding {
#[derive(Debug, Deserialize, PartialEq)]
pub enum ObjectType {
+ Article,
Note,
+ Question,
}
#[derive(Debug, Deserialize, PartialEq)]