diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2021-10-24 12:00:48 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2021-10-24 12:02:00 +0200 |
commit | a7a90c8dd7c3daeb07838915d827297c7516bd91 (patch) | |
tree | 453d22a3f9b92f4dfc221fc54983dab8ca77ab60 /service-person/src/model/city.rs | |
parent | 7a9b14189703c4d1f7d5ba67615609a2e08fffab (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.rs | 2 |
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, |