Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bca702c7c1 | ||
|
|
d515dd4f9a |
No files matched your search
+2
-1
@@ -18,13 +18,14 @@ utoipa = { version = "6.0.0", features = ["uuid", "time"] }
|
|||||||
[features]
|
[features]
|
||||||
default = ["full"]
|
default = ["full"]
|
||||||
full = ["access_level", "album", "constants", "coverart", "ledger", "login_result", "song", "token", "types", "user", "util"]
|
full = ["access_level", "album", "constants", "coverart", "ledger", "login_result", "song", "token", "types", "user", "util"]
|
||||||
auth = ["constants", "login_result", "token", "user"]
|
auth = ["constants", "login_result", "register_result", "token", "user"]
|
||||||
access_level = ["constants"]
|
access_level = ["constants"]
|
||||||
album = []
|
album = []
|
||||||
constants = []
|
constants = []
|
||||||
coverart = ["constants", "types"]
|
coverart = ["constants", "types"]
|
||||||
ledger = ["constants", "song", "types", "user"]
|
ledger = ["constants", "song", "types", "user"]
|
||||||
login_result = ["constants", "token", "user"]
|
login_result = ["constants", "token", "user"]
|
||||||
|
register_result = []
|
||||||
song = ["constants", "types"]
|
song = ["constants", "types"]
|
||||||
token = []
|
token = []
|
||||||
types = []
|
types = []
|
||||||
|
|||||||
@@ -4,5 +4,9 @@ use serde::{Deserialize, Serialize};
|
|||||||
pub struct RegisterResult {
|
pub struct RegisterResult {
|
||||||
pub id: uuid::Uuid,
|
pub id: uuid::Uuid,
|
||||||
pub username: String,
|
pub username: String,
|
||||||
pub date_created: Option<time::OffsetDateTime>
|
pub email: String,
|
||||||
|
pub firstname: String,
|
||||||
|
pub lastname: String,
|
||||||
|
#[serde(with = "time::serde::rfc3339::option")]
|
||||||
|
pub date_created: Option<time::OffsetDateTime>,
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user