summaryrefslogtreecommitdiffstats
path: root/service-person/src/model/city.rs
diff options
context:
space:
mode:
Diffstat (limited to 'service-person/src/model/city.rs')
-rw-r--r--service-person/src/model/city.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/service-person/src/model/city.rs b/service-person/src/model/city.rs
index 6a44292..d297344 100644
--- a/service-person/src/model/city.rs
+++ b/service-person/src/model/city.rs
@@ -12,7 +12,7 @@ use crate::schema::cities;
#[derive(Debug, Deserialize, diesel::Queryable, getset::Getters)]
pub struct City {
- id: i32,
+ pub(super) id: i32,
#[getset(get = "pub")]
name: String,