💩 部分字段改为可选
This commit is contained in:
@@ -25,7 +25,7 @@ pub struct AppDetail {
|
||||
#[serde(rename = "Pkgname")]
|
||||
pub pkgname: String,
|
||||
#[serde(rename = "Tags")]
|
||||
pub tags: String,
|
||||
pub tags: Option<String>,
|
||||
#[serde(rename = "Update")]
|
||||
pub update: String,
|
||||
#[serde(rename = "Icon")]
|
||||
@@ -41,7 +41,7 @@ pub struct AppDetail {
|
||||
#[serde(rename = "Contributor")]
|
||||
pub contributor: String,
|
||||
#[serde(rename = "Website")]
|
||||
pub website: String,
|
||||
pub website: Option<String>,
|
||||
#[serde(rename = "Size")]
|
||||
pub size: String,
|
||||
#[serde(rename = "DownloadTimes")]
|
||||
|
||||
Reference in New Issue
Block a user