summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 91f4859..80e99d9 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -336,9 +336,13 @@ pub enum ActorLocalRef {
Community(CommunityLocalID),
}
+#[derive(Clone, Copy, Debug, Serialize)]
+#[serde(tag = "type")]
pub enum ThingLocalRef {
Post(PostLocalID),
Comment(CommentLocalID),
+ User(UserLocalID),
+ Community(CommunityLocalID),
}
#[derive(Debug)]