lethean 1.2.2

Lethean VPN Marketplace API
Documentation
/*
 * Lethean VPN
 *
 * Distributed Virtual Private Marketplace
 *
 * The version of the OpenAPI document: 1.2.1
 * Contact: contact@lethean.io
 * Generated by: https://openapi-generator.tech
 */




#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct EmissionEntity {
    #[serde(rename = "blk_no")]
    pub blk_no: f32,
    #[serde(rename = "coinbase")]
    pub coinbase: f32,
    #[serde(rename = "fee")]
    pub fee: f32,
}

impl EmissionEntity {
    pub fn new(blk_no: f32, coinbase: f32, fee: f32) -> EmissionEntity {
        EmissionEntity {
            blk_no,
            coinbase,
            fee,
        }
    }
}