mirror of
https://github.com/danbulant/Portfolio
synced 2026-05-26 21:41:50 +00:00
refactor: are_candidate_details_complete name
This commit is contained in:
parent
8560c0b3a6
commit
eb5fc405e2
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ impl CandidateService {
|
||||||
Ok(model)
|
Ok(model)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn are_candidate_details_complete(candidate: &candidate::Model) -> bool {
|
pub fn is_candidate_info(candidate: &candidate::Model) -> bool {
|
||||||
candidate.name.is_some()
|
candidate.name.is_some()
|
||||||
&& candidate.surname.is_some()
|
&& candidate.surname.is_some()
|
||||||
&& candidate.birthplace.is_some()
|
&& candidate.birthplace.is_some()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue