add: modify codes

This commit is contained in:
trisua 2025-07-26 01:01:45 -04:00
parent 6c9a4cbd77
commit c7bc6bb475
5 changed files with 131 additions and 94 deletions

View file

@ -16,6 +16,9 @@ pub struct Entry {
/// The IP address of the last editor of the entry.
#[serde(default)]
pub last_edit_from: String,
/// An edit code that can only be used to change the entry's content.
#[serde(default)]
pub modify_code: String,
}
#[derive(Serialize, Deserialize, PartialEq, Eq)]