fireblocks_sdk/models/
transaction_response_destination.rs

1// Fireblocks API
2//
3// Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain.  - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com)
4//
5// The version of the OpenAPI document: 1.8.0
6// Contact: developers@fireblocks.com
7// Generated by: https://openapi-generator.tech
8
9use {
10    crate::models,
11    serde::{Deserialize, Serialize},
12};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct TransactionResponseDestination {
16    /// The amount to be sent to this destination.
17    #[serde(rename = "amount", skip_serializing_if = "Option::is_none")]
18    pub amount: Option<String>,
19    /// The USD value of the requested amount.
20    #[serde(rename = "amountUSD", skip_serializing_if = "Option::is_none")]
21    pub amount_usd: Option<String>,
22    #[serde(rename = "amlScreeningResult", skip_serializing_if = "Option::is_none")]
23    pub aml_screening_result: Option<models::AmlScreeningResult>,
24    #[serde(rename = "destination", skip_serializing_if = "Option::is_none")]
25    pub destination: Option<models::DestinationTransferPeerPathResponse>,
26    #[serde(rename = "authorizationInfo", skip_serializing_if = "Option::is_none")]
27    pub authorization_info: Option<models::AuthorizationInfo>,
28}
29
30impl TransactionResponseDestination {
31    pub fn new() -> TransactionResponseDestination {
32        TransactionResponseDestination {
33            amount: None,
34            amount_usd: None,
35            aml_screening_result: None,
36            destination: None,
37            authorization_info: None,
38        }
39    }
40}