From a22a91a7d7fbb01ad68b91dceb63c1d926d9d2ea Mon Sep 17 00:00:00 2001 From: Quaternions <krakow20@gmail.com> Date: Wed, 2 Apr 2025 14:45:11 -0700 Subject: [PATCH] aa --- validation/src/nats_types.rs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/validation/src/nats_types.rs b/validation/src/nats_types.rs index 15f0924..f84e4b6 100644 --- a/validation/src/nats_types.rs +++ b/validation/src/nats_types.rs @@ -4,6 +4,22 @@ // Requests are sent from maps-service to validator // Validation invokes the REST api to update the submissions +#[allow(nonstandard_style)] +#[derive(serde::Deserialize)] +pub struct CreateSubmissionRequest{ + // operation_id is passed back in the response message + pub OperationID:i64, + pub ModelID:u64, +} + +#[allow(nonstandard_style)] +#[derive(serde::Deserialize)] +pub struct CreateMapfixRequest{ + pub OperationID:i64, + pub ModelID:u64, + pub TargetAssetID:u64, +} + #[allow(nonstandard_style)] #[derive(serde::Deserialize)] pub struct ValidateSubmissionRequest{