Initial (full)
This commit is contained in:
parent
94cec33b46
commit
9dd708d276
8 changed files with 4810 additions and 0 deletions
11
src/model.rs
Normal file
11
src/model.rs
Normal file
|
@ -0,0 +1,11 @@
|
|||
use serde::{Deserialize, Serialize};
|
||||
|
||||
#[derive(Serialize, Deserialize)]
|
||||
pub struct Entry {
|
||||
pub slug: String,
|
||||
pub edit_code: String,
|
||||
pub salt: String,
|
||||
pub created: usize,
|
||||
pub edited: usize,
|
||||
pub content: String,
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue