Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c1c16bc814 | |||
| 5885552192 |
@ -13,6 +13,10 @@ pub struct Page {
|
||||
pub sidebar: Option<Sidebar>,
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub actions: Option<IndexMap<String, Action>>,
|
||||
/// The personal-scope sibling punc for this page ("one surface, two scopes"):
|
||||
/// the caller-scoped read the page issues when the app is in personal scope.
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub personal: Option<String>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize, Default)]
|
||||
@ -22,4 +26,6 @@ pub struct Sidebar {
|
||||
pub category: Option<String>,
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub priority: Option<i32>,
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub icon: Option<String>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user