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 ListSyncedAddressesRi {
    /// Represents the address.
    #[serde(rename = "address")]
    pub address: String,
    /// Represents the index position of the transaction in the specific block.
    #[serde(rename = "index")]
    pub index: i64,
}

impl ListSyncedAddressesRi {
    pub fn new(address: String, index: i64) -> ListSyncedAddressesRi {
        ListSyncedAddressesRi {
            address,
            index,
        }
    }
}