MCPcopy Create free account
hub / github.com/hashintel/hash / Field

Class Field

libs/@local/codegen/src/definitions/fields.rs:8–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6
7#[derive(Debug, Clone)]
8pub 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
16impl Field {
17 pub(crate) fn from_specta(

Callers 15

access_fieldMethod · 0.85
lower_accessMethod · 0.85
walk_accessFunction · 0.85
field_exprMethod · 0.85
try_eval_calleeMethod · 0.85
try_eval_ptrMethod · 0.85
lower_implMethod · 0.85
rvalue_call_fatMethod · 0.85
placeMethod · 0.85
fieldMethod · 0.85
parse_field_accessFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected