diff options
Diffstat (limited to 'common/src/lib.rs')
-rw-r--r-- | common/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/src/lib.rs b/common/src/lib.rs index 7392c87..81fcfd8 100644 --- a/common/src/lib.rs +++ b/common/src/lib.rs @@ -28,6 +28,7 @@ pub struct NodePrivate { pub struct NodePublic { pub kind: NodeKind, pub title: String, + #[serde(default)] pub parent: Option<String>, #[serde(default)] pub children: Vec<String>, #[serde(default)] pub tagline: Option<String>, #[serde(default)] pub description: Option<String>, |