mirror of
https://github.com/danbulant/Portfolio
synced 2026-05-24 20:42:15 +00:00
style: remove commented code block
This commit is contained in:
parent
0ffe203c5a
commit
55f06c9de1
1 changed files with 0 additions and 26 deletions
|
|
@ -185,32 +185,6 @@ impl TryFrom<(candidate::Model, parent::Model)> for EncryptedApplicationDetails
|
|||
}
|
||||
}
|
||||
|
||||
// TODO: use this for ApplicationResult???
|
||||
/* impl TryFrom<ApplicationResult> for EncryptedApplicationDetails {
|
||||
type Error = ServiceError;
|
||||
|
||||
fn try_from(value: ApplicationResult) -> Result<Self, Self::Error> {
|
||||
Ok(EncryptedApplicationDetails {
|
||||
name: EncryptedString::try_from(value.name)?,
|
||||
surname: EncryptedString::try_from(value.surname)?,
|
||||
birthplace: todo!(),
|
||||
birthdate: todo!(),
|
||||
address: todo!(),
|
||||
telephone: todo!(),
|
||||
citizenship: todo!(),
|
||||
email: todo!(),
|
||||
sex: todo!(),
|
||||
study: todo!(),
|
||||
parent_name: todo!(),
|
||||
parent_surname: todo!(),
|
||||
parent_telephone: todo!(),
|
||||
parent_email: todo!(),
|
||||
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
} */
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize)]
|
||||
pub struct ApplicationDetails {
|
||||
|
|
|
|||
Loading…
Reference in a new issue