Saving changes
All checks were successful
Rust Build / Check (pull_request) Successful in 30s
Rust Build / Test Suite (pull_request) Successful in 36s
Rust Build / Rustfmt (pull_request) Successful in 27s
Rust Build / Clippy (pull_request) Successful in 34s
Rust Build / build (pull_request) Successful in 36s
All checks were successful
Rust Build / Check (pull_request) Successful in 30s
Rust Build / Test Suite (pull_request) Successful in 36s
Rust Build / Rustfmt (pull_request) Successful in 27s
Rust Build / Clippy (pull_request) Successful in 34s
Rust Build / build (pull_request) Successful in 36s
This commit is contained in:
@@ -21,9 +21,11 @@ pub struct User {
|
|||||||
#[serde(skip_serializing_if = "String::is_empty")]
|
#[serde(skip_serializing_if = "String::is_empty")]
|
||||||
pub lastname: String,
|
pub lastname: String,
|
||||||
pub email_verified: bool,
|
pub email_verified: bool,
|
||||||
|
#[serde(with = "time::serde::rfc3339::option")]
|
||||||
pub date_created: Option<time::OffsetDateTime>,
|
pub date_created: Option<time::OffsetDateTime>,
|
||||||
#[serde(skip_serializing_if = "String::is_empty")]
|
#[serde(skip_serializing_if = "String::is_empty")]
|
||||||
pub status: String,
|
pub status: String,
|
||||||
|
#[serde(with = "time::serde::rfc3339::option")]
|
||||||
pub last_login: Option<time::OffsetDateTime>,
|
pub last_login: Option<time::OffsetDateTime>,
|
||||||
#[serde(skip_serializing_if = "init::is_uuid_nil")]
|
#[serde(skip_serializing_if = "init::is_uuid_nil")]
|
||||||
pub salt_id: uuid::Uuid,
|
pub salt_id: uuid::Uuid,
|
||||||
|
Reference in New Issue
Block a user