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 Activity {
    /// payload data
    #[serde(rename = "updated")]
    pub updated: String,
    #[serde(rename = "updates")]
    pub updates: Vec<crate::models::Commit>,
}

impl Activity {
    pub fn new(updated: String, updates: Vec<crate::models::Commit>) -> Activity {
        Activity {
            updated,
            updates,
        }
    }
}