about summary refs log tree commit diff
path: root/src/models.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/models.rs')
-rw-r--r--src/models.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/models.rs b/src/models.rs
index 006596fd8331..eab90b30f601 100644
--- a/src/models.rs
+++ b/src/models.rs
@@ -63,6 +63,7 @@ pub struct SimplePost {
     pub body: String,
     pub posted: DateTime<Utc>,
     pub user_id: i32,
+    pub closed: bool,
     pub author_name: String,
     pub author_email: String,
 }
@@ -77,6 +78,7 @@ pub struct ThreadIndex {
     pub thread_author: String,
     pub created: DateTime<Utc>,
     pub sticky: bool,
+    pub closed: bool,
     pub post_id: i32,
     pub post_author: String,
     pub posted: DateTime<Utc>,