uapi-sdk-rust 0.1.15

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 GetImageQrcode200Response {
    /// 图片的URL。当`format=json_url`时是临时公网URL;当`format=json`时是Base64 Data URI。
    #[serde(rename = "url", skip_serializing_if = "Option::is_none")]
    pub url: Option<String>,
}

impl GetImageQrcode200Response {
    pub fn new() -> GetImageQrcode200Response {
        GetImageQrcode200Response {
            url: None,
        }
    }
}