Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d515dd4f9a | ||
|
|
4153157cf3 | ||
|
|
9319d25344 |
No files matched your search
Generated
+1
-1
@@ -486,7 +486,7 @@ checksum = "3a219298ac11a56ea9a6d2120044824d6f01aeb034955e7af7bc16858527deea"
|
||||
|
||||
[[package]]
|
||||
name = "simodels"
|
||||
version = "0.11.10"
|
||||
version = "0.11.20"
|
||||
dependencies = [
|
||||
"josekit",
|
||||
"rand",
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "simodels"
|
||||
version = "0.11.10"
|
||||
version = "0.11.20"
|
||||
edition = "2024"
|
||||
rust-version = "1.95"
|
||||
description = "Models used for the soaricarus project"
|
||||
|
||||
@@ -4,6 +4,7 @@ pub mod constants;
|
||||
pub mod coverart;
|
||||
pub mod ledger;
|
||||
pub mod login_result;
|
||||
pub mod register_result;
|
||||
pub mod song;
|
||||
pub mod token;
|
||||
pub mod types;
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
#[derive(Debug, Default, Deserialize, Serialize, utoipa::ToSchema)]
|
||||
pub struct RegisterResult {
|
||||
pub id: uuid::Uuid,
|
||||
pub username: String,
|
||||
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