add: modify codes
This commit is contained in:
parent
6c9a4cbd77
commit
c7bc6bb475
5 changed files with 131 additions and 94 deletions
|
@ -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)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue