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

impl RawTransactionEntityVinKey {
    pub fn new(amount: f32, k_image: String, key_offsets: Vec<f32>) -> RawTransactionEntityVinKey {
        RawTransactionEntityVinKey {
            amount,
            k_image,
            key_offsets,
        }
    }
}