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};

/// GetSocialBilibiliVideoinfo200ResponseOwner : 视频UP主信息。
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetSocialBilibiliVideoinfo200ResponseOwner {
    /// UP主的UID。
    #[serde(rename = "mid", skip_serializing_if = "Option::is_none")]
    pub mid: Option<f64>,
    /// UP主昵称。
    #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
    pub name: Option<String>,
    /// UP主头像的URL。
    #[serde(rename = "face", skip_serializing_if = "Option::is_none")]
    pub face: Option<String>,
}

impl GetSocialBilibiliVideoinfo200ResponseOwner {
    /// 视频UP主信息。
    pub fn new() -> GetSocialBilibiliVideoinfo200ResponseOwner {
        GetSocialBilibiliVideoinfo200ResponseOwner {
            mid: None,
            name: None,
            face: None,
        }
    }
}