StructFieldOptions
StructFieldOptions describes a struct field initializer.
Properties
Section titled “Properties”field:
string
field names the initialized field.
optional?
Section titled “optional?”
optionaloptional?:boolean
optional marks the field as conditionally present.
value:
Expr
value computes the initialized field value.