From faf73034a0a49cce8de4d4cddbda13737f32c63c Mon Sep 17 00:00:00 2001 From: Franklin Date: Wed, 26 Apr 2023 17:10:13 -0400 Subject: [PATCH] JL TYPES V1.0 --- src/dto/auth.rs | 9 +++++++++ src/dto/mod.rs | 3 ++- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 src/dto/auth.rs diff --git a/src/dto/auth.rs b/src/dto/auth.rs new file mode 100644 index 0000000..7362a2b --- /dev/null +++ b/src/dto/auth.rs @@ -0,0 +1,9 @@ +use serde::{Deserialize, Serialize}; + + + +#[derive(Serialize, Deserialize, Debug, Default, Clone, PartialEq, PartialOrd)] +pub struct AuthDto { + pub email: String, + pub password: String, +} \ No newline at end of file diff --git a/src/dto/mod.rs b/src/dto/mod.rs index d91646f..3566e6f 100644 --- a/src/dto/mod.rs +++ b/src/dto/mod.rs @@ -2,4 +2,5 @@ pub mod filters; pub mod payloads; pub mod listing; pub mod project_card; -pub mod item; \ No newline at end of file +pub mod item; +pub mod auth; \ No newline at end of file