fix(hololake): decode registry into persona context
This commit is contained in:
parent
b433611857
commit
970523ab44
1 changed files with 3 additions and 0 deletions
|
|
@ -80,10 +80,13 @@ pub struct SystemSnapshot {
|
|||
#[derive(Clone, Debug, Serialize, Deserialize)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub struct ModuleRecord {
|
||||
#[serde(alias = "module_id")]
|
||||
pub module_id: String,
|
||||
#[serde(alias = "name_zh")]
|
||||
pub name_zh: String,
|
||||
pub kind: String,
|
||||
pub audience: String,
|
||||
#[serde(alias = "summary_zh")]
|
||||
pub summary_zh: String,
|
||||
pub state: String,
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue