diff options
Diffstat (limited to 'service-person/src/model/country.rs')
-rw-r--r-- | service-person/src/model/country.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service-person/src/model/country.rs b/service-person/src/model/country.rs index deab633..4a54224 100644 --- a/service-person/src/model/country.rs +++ b/service-person/src/model/country.rs @@ -12,7 +12,7 @@ use crate::schema::countries; #[derive(Debug, Deserialize, diesel::Queryable, getset::Getters)] pub struct Country { - id: i32, + pub(super) id: i32, #[getset(get = "pub")] name: String, |