uapi-sdk-rust 0.1.14

UAPI Rust SDK - idiomatic, typed, domain-driven API client.
Documentation
/*
 * UAPI
 *
 * UAPI 官方接口文档
 *
 * The version of the OpenAPI document: 1.0.0
 * 
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetDailyNewsImage500Response {
    /// 机器可读的错误代码。
    #[serde(rename = "code", skip_serializing_if = "Option::is_none")]
    pub code: Option<String>,
    /// 人类可读的错误描述信息。
    #[serde(rename = "message", skip_serializing_if = "Option::is_none")]
    pub message: Option<String>,
}

impl GetDailyNewsImage500Response {
    pub fn new() -> GetDailyNewsImage500Response {
        GetDailyNewsImage500Response {
            code: None,
            message: None,
        }
    }
}