From 55f06c9de1778bebc0a96eda744706812b9dfa7d Mon Sep 17 00:00:00 2001 From: Sebastian Pravda Date: Thu, 17 Nov 2022 18:48:26 +0100 Subject: [PATCH] style: remove commented code block --- core/src/candidate_details.rs | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/core/src/candidate_details.rs b/core/src/candidate_details.rs index 2de8f1a..ae3cb4f 100644 --- a/core/src/candidate_details.rs +++ b/core/src/candidate_details.rs @@ -185,32 +185,6 @@ impl TryFrom<(candidate::Model, parent::Model)> for EncryptedApplicationDetails } } -// TODO: use this for ApplicationResult??? -/* impl TryFrom for EncryptedApplicationDetails { - type Error = ServiceError; - - fn try_from(value: ApplicationResult) -> Result { - 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 {