cryptoapis 1.3.0

Rust library/SDK for Crypto APIs 2.0
Documentation
/*
 * CryptoAPIs
 *
 * Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more.
 *
 * The version of the OpenAPI document: 2.0.0
 * Contact: developers@cryptoapis.io
 * Generated by: https://openapi-generator.tech
 */

/// ListAllUnconfirmedTransactionsRibsbc : Bitcoin Cash



#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct ListAllUnconfirmedTransactionsRibsbc {
    /// Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid.
    #[serde(rename = "locktime")]
    pub locktime: i32,
    /// Represents the total size of this transaction.
    #[serde(rename = "size")]
    pub size: i32,
    /// Represents the transaction's version number.
    #[serde(rename = "version")]
    pub version: i32,
    /// Represents the transaction inputs.
    #[serde(rename = "vin")]
    pub vin: Vec<crate::models::ListAllUnconfirmedTransactionsRibsbcVin>,
    /// Object Array representation of transaction outputs
    #[serde(rename = "vout")]
    pub vout: Vec<crate::models::ListAllUnconfirmedTransactionsRibsbcVout>,
}

impl ListAllUnconfirmedTransactionsRibsbc {
    /// Bitcoin Cash
    pub fn new(locktime: i32, size: i32, version: i32, vin: Vec<crate::models::ListAllUnconfirmedTransactionsRibsbcVin>, vout: Vec<crate::models::ListAllUnconfirmedTransactionsRibsbcVout>) -> ListAllUnconfirmedTransactionsRibsbc {
        ListAllUnconfirmedTransactionsRibsbc {
            locktime,
            size,
            version,
            vin,
            vout,
        }
    }
}