Adding RegisterResult
This commit is contained in:
2 files changed
+9
No files matched your search
@@ -4,6 +4,7 @@ pub mod constants;
|
|||||||
pub mod coverart;
|
pub mod coverart;
|
||||||
pub mod ledger;
|
pub mod ledger;
|
||||||
pub mod login_result;
|
pub mod login_result;
|
||||||
|
pub mod register_result;
|
||||||
pub mod song;
|
pub mod song;
|
||||||
pub mod token;
|
pub mod token;
|
||||||
pub mod types;
|
pub mod types;
|
||||||
|
|||||||
@@ -0,0 +1,8 @@
|
|||||||
|
use serde::{Deserialize, Serialize};
|
||||||
|
|
||||||
|
#[derive(Debug, Default, Deserialize, Serialize, utoipa::ToSchema)]
|
||||||
|
pub struct RegisterResult {
|
||||||
|
pub id: uuid::Uuid,
|
||||||
|
pub username: String,
|
||||||
|
pub date_created: Option<time::OffsetDateTime>
|
||||||
|
}
|
||||||
Reference in new issue
Block a user