/*
* 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 RawBlockMinerVout {
#[serde(rename = "amount")]
pub amount: f32,
#[serde(rename = "target")]
pub target: Box<crate::models::VoutTarget>,
}
impl RawBlockMinerVout {
pub fn new(amount: f32, target: crate::models::VoutTarget) -> RawBlockMinerVout {
RawBlockMinerVout {
amount,
target: Box::new(target),
}
}
}