| 6 | |
| 7 | #[derive(Debug, Clone)] |
| 8 | pub struct Field { |
| 9 | // TODO: Export doc strings in codegen |
| 10 | // see https://linear.app/hash/issue/H-4473/export-doc-strings-in-codegen |
| 11 | pub r#type: Type, |
| 12 | pub flatten: bool, |
| 13 | pub optional: bool, |
| 14 | } |
| 15 | |
| 16 | impl Field { |
| 17 | pub(crate) fn from_specta( |
no outgoing calls
no test coverage detected