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 RawTransactionEntityVout {
    #[serde(rename = "amount")]
    pub amount: f32,
    #[serde(rename = "target")]
    pub target: Box<crate::models::RawTransactionEntityVoutTarget>,
}

impl RawTransactionEntityVout {
    pub fn new(amount: f32, target: crate::models::RawTransactionEntityVoutTarget) -> RawTransactionEntityVout {
        RawTransactionEntityVout {
            amount,
            target: Box::new(target),
        }
    }
}