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 MixinEntity {
    #[serde(rename = "block_no")]
    pub block_no: f32,
    #[serde(rename = "public_key")]
    pub public_key: String,
}

impl MixinEntity {
    pub fn new(block_no: f32, public_key: String) -> MixinEntity {
        MixinEntity {
            block_no,
            public_key,
        }
    }
}