wx-rust-open 0.1.2

WxRust 开放平台(第三方平台)模块(对应 weixin-java-open)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! 对应 Java `me.chanjar.weixin.open.bean.minishop.MinishopShopCat.java`。
//!
//! 由 `scripts/gen_open_bean_structs.py` 从 Java 数据类生成(@SerializedName 覆盖保留)。

#[allow(unused_imports)]
use super::*;

#[derive(Debug, Clone, Default, PartialEq, serde::Serialize, serde::Deserialize)]
pub struct MinishopShopCat {
    #[serde(rename = "shopCatId", default)]
    pub shop_cat_id: i32,
    #[serde(rename = "shopCatName", default)]
    pub shop_cat_name: String,
    #[serde(rename = "fShopCatId", default)]
    pub f_shop_cat_id: i32,
    #[serde(rename = "catLevel", default)]
    pub cat_level: i32,
}