From f8133925f4752f2903898970833b2d23a9e2ef82 Mon Sep 17 00:00:00 2001 From: Noor Date: Thu, 23 Jan 2025 19:50:48 +0530 Subject: [PATCH] fix: included Uuid type in shared --- src/pb_types/shared.rs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/pb_types/shared.rs b/src/pb_types/shared.rs index 28c1593..4f52453 100644 --- a/src/pb_types/shared.rs +++ b/src/pb_types/shared.rs @@ -87,8 +87,13 @@ pub struct Container { pub node: String, #[prost(message, optional, tag = "3")] pub resource: Option, - #[serde(default)] - #[prost(string, tag = "4")] + #[prost(message, tag = "4")] + pub uuid: Option, +} + +#[derive(Clone, Serialize, Deserialize, prost::Message)] +pub struct Uuid { + #[prost(string, tag = "1")] pub uuid: String, }