/* * Django Recipes * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.4.5 * * Generated by: https://openapi-generator.tech */ #[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)] pub struct ImportLog { #[serde(rename = "id", skip_serializing_if = "Option::is_none")] pub id: Option, #[serde(rename = "type")] pub r#type: String, #[serde(rename = "msg", skip_serializing_if = "Option::is_none")] pub msg: Option, #[serde(rename = "running", skip_serializing_if = "Option::is_none")] pub running: Option, #[serde(rename = "keyword", skip_serializing_if = "Option::is_none")] pub keyword: Option>, #[serde(rename = "total_recipes", skip_serializing_if = "Option::is_none")] pub total_recipes: Option, #[serde(rename = "imported_recipes", skip_serializing_if = "Option::is_none")] pub imported_recipes: Option, #[serde(rename = "created_by", skip_serializing_if = "Option::is_none")] pub created_by: Option, #[serde(rename = "created_at", skip_serializing_if = "Option::is_none")] pub created_at: Option, } impl ImportLog { pub fn new(r#type: String) -> ImportLog { ImportLog { id: None, r#type, msg: None, running: None, keyword: None, total_recipes: None, imported_recipes: None, created_by: None, created_at: None, } } }