summaryrefslogtreecommitdiffstats
path: root/service-person/src/model/city.rs
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2021-10-24 12:00:48 +0200
committerMatthias Beyer <mail@beyermatthias.de>2021-10-24 12:02:00 +0200
commita7a90c8dd7c3daeb07838915d827297c7516bd91 (patch)
tree453d22a3f9b92f4dfc221fc54983dab8ca77ab60 /service-person/src/model/city.rs
parent7a9b14189703c4d1f7d5ba67615609a2e08fffab (diff)
model: Make ids module readable
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
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,