From 1c31a7a73e717dffcd8c85b9cef397957a4e25e4 Mon Sep 17 00:00:00 2001 From: dimxy Date: Fri, 20 Sep 2024 17:27:51 +0500 Subject: [PATCH] added doc comment for swap params --- mm2src/trading_api/src/one_inch_api/types.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mm2src/trading_api/src/one_inch_api/types.rs b/mm2src/trading_api/src/one_inch_api/types.rs index a62b39cb94..e64dbdc9b5 100644 --- a/mm2src/trading_api/src/one_inch_api/types.rs +++ b/mm2src/trading_api/src/one_inch_api/types.rs @@ -36,7 +36,9 @@ macro_rules! def_with_opt_param { /// API params builder for swap quote #[derive(Default)] pub struct ClassicSwapQuoteParams { + /// Source token address src: String, + /// Destination token address dst: String, amount: String, // Optional fields