Struct mailpot_web::auth::User
source · pub struct User {
pub ssh_signature: String,
pub role: Role,
pub pk: i64,
pub name: Option<String>,
pub address: String,
pub public_key: Option<String>,
pub password: String,
pub enabled: bool,
}
Fields§
§ssh_signature: String
SSH signature.
role: Role
User role.
pk: i64
Database primary key.
name: Option<String>
Accounts’s display name, optional.
address: String
Account’s e-mail address.
public_key: Option<String>
GPG public key.
password: String
SSH public key.
enabled: bool
Whether this account is enabled.
Trait Implementations§
source§impl<'de> Deserialize<'de> for User
impl<'de> Deserialize<'de> for User
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more