summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--service-person/src/model/age.rs5
-rw-r--r--service-person/src/model/mod.rs6
-rw-r--r--service-person/src/model/name.rs6
3 files changed, 0 insertions, 17 deletions
diff --git a/service-person/src/model/age.rs b/service-person/src/model/age.rs
deleted file mode 100644
index 7c7420c..0000000
--- a/service-person/src/model/age.rs
+++ /dev/null
@@ -1,5 +0,0 @@
-use serde::Deserialize;
-
-#[derive(Debug, Deserialize)]
-pub struct Age(usize);
-
diff --git a/service-person/src/model/mod.rs b/service-person/src/model/mod.rs
index 48eeeed..d64181c 100644
--- a/service-person/src/model/mod.rs
+++ b/service-person/src/model/mod.rs
@@ -1,18 +1,12 @@
pub mod address;
pub use address::*;
-pub mod age;
-pub use age::*;
-
pub mod city;
pub use city::*;
pub mod country;
pub use country::*;
-pub mod name;
-pub use name::*;
-
pub mod person;
pub use person::*;
diff --git a/service-person/src/model/name.rs b/service-person/src/model/name.rs
deleted file mode 100644
index 5b5c6d6..0000000
--- a/service-person/src/model/name.rs
+++ /dev/null
@@ -1,6 +0,0 @@
-use serde::Deserialize;
-
-#[derive(Debug, Deserialize)]
-pub struct Name(String);
-
-