- Children
- Not eble to use enum as a single child
- Nominal
- Flatten properties (analogous to serde)
- Not implemented
DecodeScalar for structs
- NodeName
- TypeName
- hence type annotations for nodes and scalars are different
- bool child
- Option vs Default
- benefit: form of type path doesn't matter
- unwrap
NewType for structs and Nested for enums
- Every data in KDL appears either as a scalar wrapped in a node or a node itself. Therefore every type can exsist only in an already
newtypeed form.
str and bytes → simply implement DecodeScalar for SocketAddr and Vec<u8>