refactor: rename_all camelCase

This commit is contained in:
Sebastian Pravda 2022-12-26 14:18:20 +01:00
parent 7e42d984f4
commit c78a5f5258
No known key found for this signature in database
GPG key ID: F3BC84F08EFA3F57

View file

@ -9,6 +9,7 @@ use super::candidate_details::decrypt_if_exists;
/// Minimal candidate response containing database only not null fields
#[derive(Debug, Serialize)]
#[serde(rename_all = "camelCase")]
pub struct NewCandidateResponse {
pub application_id: i32,
pub personal_id_number: String,