1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
/* * API * * ## Welcome This is a place to put general notes and extra information, for internal use. To get started designing/documenting this API, select a version on the left. # Title No Description * * The version of the OpenAPI document: 3 * * Generated by: https://openapi-generator.tech */ #[derive(Debug, Serialize, Deserialize, Clone)] pub struct TranslationsList { #[serde(rename = "id", skip_serializing_if = "Option::is_none")] pub id: Option<i32>, #[serde(rename = "translations", skip_serializing_if = "Option::is_none")] pub translations: Option<Vec<crate::models::Translation>>, } impl TranslationsList { pub fn new() -> TranslationsList { TranslationsList { id: None, translations: None, } } }