deepl_openapi/models/
document_translation_error.rs

1/*
2 * DeepL API Documentation
3 *
4 * The DeepL API provides programmatic access to DeepL’s machine translation technology.
5 *
6 * The version of the OpenAPI document: 2.7.0
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12
13
14#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
15pub struct DocumentTranslationError {
16    /// detailed error message
17    #[serde(rename = "message", skip_serializing_if = "Option::is_none")]
18    pub message: Option<String>,
19}
20
21impl DocumentTranslationError {
22    pub fn new() -> DocumentTranslationError {
23        DocumentTranslationError {
24            message: None,
25        }
26    }
27}
28
29