aboutsummaryrefslogtreecommitdiff
path: root/src/post.rs
diff options
context:
space:
mode:
authorRuben Beltran del Rio <git@r.bdr.sh>2024-02-26 19:08:05 +0000
committerRuben Beltran del Rio <git@r.bdr.sh>2024-02-26 19:08:05 +0000
commit2998247083406f914b3647cedd19abf5507bf2c6 (patch)
tree5f7ad64d66750c58918421ff62332b302c517778 /src/post.rs
parent0e276d039b8613de0cbd302bf328bb660ab063b6 (diff)
Add tokenizer
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
+}