From 69093504b7c7208fd895bbb4b6e8d044d2e94cfa Mon Sep 17 00:00:00 2001 From: Valmo Trindade Date: Wed, 11 Sep 2024 19:14:22 -0300 Subject: [PATCH] added MarkerPayload struct to handle marker requests payload --- src/structs.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/structs.rs b/src/structs.rs index 2b30734..0ba2bd8 100644 --- a/src/structs.rs +++ b/src/structs.rs @@ -15,4 +15,10 @@ pub struct Marker { pub ce: Option, pub hae: Option, pub le: Option, +} + +pub struct MarkerPayload { + pub api_address: String, + pub api_auth_token: String, + pub markers: [Marker], } \ No newline at end of file