Whether a `kind` holds the default value. When it does, the field is omitted from serialization entirely, so an ordinary intent's JSON (and its content/substance hash) is byte-identical to the pre-`kind` shape.
(kind: &str)
| 252 | /// from serialization entirely, so an ordinary intent's JSON (and its |
| 253 | /// content/substance hash) is byte-identical to the pre-`kind` shape. |
| 254 | pub fn kind_is_default(kind: &str) -> bool { |
| 255 | kind == "feature" |
| 256 | } |
| 257 | |
| 258 | /// The canonical Intent node. |
| 259 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] |
nothing calls this directly
no outgoing calls
no test coverage detected