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]
|
||||
default = ["full"]
|
||||
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"]
|
||||
album = []
|
||||
constants = []
|
||||
coverart = ["constants", "types"]
|
||||
ledger = ["constants", "song", "types", "user"]
|
||||
login_result = ["constants", "token", "user"]
|
||||
register_result = []
|
||||
song = ["constants", "types"]
|
||||
token = []
|
||||
types = []
|
||||
|
||||
@@ -4,5 +4,9 @@ use serde::{Deserialize, Serialize};
|
||||
pub struct RegisterResult {
|
||||
pub id: uuid::Uuid,
|
||||
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