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

impl OutputEntity {
    pub fn new(amount: f32, public_key: String) -> OutputEntity {
        OutputEntity {
            amount,
            public_key,
        }
    }
}