From 5a5db13cc290a2eb178ee75568c40c96c3b633dd Mon Sep 17 00:00:00 2001 From: Valentin Tolmer Date: Wed, 30 Jun 2021 20:00:44 +0200 Subject: [PATCH] Add a request message for user details --- model/src/lib.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/model/src/lib.rs b/model/src/lib.rs index 690d457..89a1a9a 100644 --- a/model/src/lib.rs +++ b/model/src/lib.rs @@ -86,6 +86,11 @@ pub struct ListUsersRequest { pub filters: Option, } +#[derive(PartialEq, Eq, Debug, Serialize, Deserialize, Clone)] +pub struct UserDetailsRequest { + pub user_id: String, +} + #[derive(PartialEq, Eq, Debug, Serialize, Deserialize)] #[cfg_attr(not(target_arch = "wasm32"), derive(sqlx::FromRow))] pub struct User {