enforce limits

This commit is contained in:
2022-03-01 16:16:02 +01:00
parent d112eba8fe
commit 36fa451249
12 changed files with 57 additions and 26 deletions

View File

@@ -6,7 +6,7 @@ use serde::{Deserialize, Serialize};
pub struct Note {
pub meta: String,
pub contents: String,
pub views: Option<u8>,
pub views: Option<u32>,
pub expiration: Option<u32>,
}