aboutsummaryrefslogtreecommitdiff
path: root/src/post.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/post.rs')
-rw-r--r--src/post.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/post.rs b/src/post.rs
new file mode 100644
index 0000000..548a5cb
--- /dev/null
+++ b/src/post.rs
@@ -0,0 +1,8 @@
+use crate::metadata::Metadata;
+
+pub struct Post {
+ pub metadata: Metadata,
+ pub index: u8,
+ pub html: String,
+ pub raw: String
+}