From eda3112463f332ca15f23c3d79158a42394d8447 Mon Sep 17 00:00:00 2001 From: phoenix Date: Thu, 28 May 2026 21:39:48 -0400 Subject: [PATCH] Added contact module --- src/contact/mod.rs | 16 ++++++++++++++++ src/lib.rs | 1 + 2 files changed, 17 insertions(+) create mode 100644 src/contact/mod.rs diff --git a/src/contact/mod.rs b/src/contact/mod.rs new file mode 100644 index 0000000..5ee1967 --- /dev/null +++ b/src/contact/mod.rs @@ -0,0 +1,16 @@ +use serde::{Deserialize, Serialize}; + + +#[derive(Clone, Debug, Default, Deserialize, Serialize)] +pub struct Contact { + pub id: uuid::Uuid, + // empty? + pub firstname: String, + // empty? + pub lastname: String, + // empty? + pub nickname: String, + pub phone_number: String, + // empty + pub user_id: uuid::Uuid, +} diff --git a/src/lib.rs b/src/lib.rs index ef68c36..4229960 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1 +1,2 @@ pub mod config; +pub mod contact;