cryptoapis 1.7.0

Rust library/SDK for Crypto APIs 2.0
Documentation
/*
 * CryptoAPIs
 *
 * 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.
 *
 * The version of the OpenAPI document: 2021-03-20
 * Contact: developers@cryptoapis.io
 * Generated by: https://openapi-generator.tech
 */




#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct DecodeRawTransactionHexRbDataItem {
    /// Represents the raw transaction Hex that has to be decoded.
    #[serde(rename = "rawTransactionHex")]
    pub raw_transaction_hex: String,
}

impl DecodeRawTransactionHexRbDataItem {
    pub fn new(raw_transaction_hex: String) -> DecodeRawTransactionHexRbDataItem {
        DecodeRawTransactionHexRbDataItem {
            raw_transaction_hex,
        }
    }
}