Skip to content

Commit

Permalink
added doc comment for swap params
Browse files Browse the repository at this point in the history
  • Loading branch information
dimxy committed Sep 20, 2024
1 parent 57192ca commit 1c31a7a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mm2src/trading_api/src/one_inch_api/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1c31a7a

Please sign in to comment.