Update dependencies, add translation endpoint, and display a user message when logged in
This commit is contained in:
parent
6b043620b8
commit
348b0f24e9
19 changed files with 170 additions and 34 deletions
|
|
@ -19,9 +19,15 @@ pub struct Id {
|
|||
pub id: i64,
|
||||
}
|
||||
|
||||
// A value associated with an id.
|
||||
// A simple value.
|
||||
#[derive(Serialize, Deserialize, Clone)]
|
||||
pub struct Value<T> {
|
||||
pub value: T,
|
||||
}
|
||||
|
||||
// A value associated with an id.
|
||||
#[derive(Serialize, Deserialize, Clone)]
|
||||
pub struct KeyValue<T> {
|
||||
pub id: i64,
|
||||
pub value: T,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue