cryptoapis/models/
get_wallet_asset_details_ri_recieved_confirmed_amount.rs

1/*
2 * CryptoAPIs
3 *
4 * Crypto APIs is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more.
5 *
6 * The version of the OpenAPI document: 2021-03-20
7 * Contact: developers@cryptoapis.io
8 * Generated by: https://openapi-generator.tech
9 */
10
11/// GetWalletAssetDetailsRiRecievedConfirmedAmount : Specifies the confirmed amount that has been received.
12
13
14
15#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
16pub struct GetWalletAssetDetailsRiRecievedConfirmedAmount {
17    /// Specifies the confirmed amount that has been received.
18    #[serde(rename = "amount")]
19    pub amount: String,
20    /// Specifies the unit of the confirmed amount that has been received.
21    #[serde(rename = "unit")]
22    pub unit: String,
23}
24
25impl GetWalletAssetDetailsRiRecievedConfirmedAmount {
26    /// Specifies the confirmed amount that has been received.
27    pub fn new(amount: String, unit: String) -> GetWalletAssetDetailsRiRecievedConfirmedAmount {
28        GetWalletAssetDetailsRiRecievedConfirmedAmount {
29            amount,
30            unit,
31        }
32    }
33}
34
35