ContractFieldSpec Struct
Per-field contract: where the field value comes from and the override policy. More...
Declaration
Included Headers
Public Member Attributes Index
| std::string | field_id |
|
Stable field identifier. More... | |
| ContractFieldSource | source = ContractFieldSource::Fixed |
|
Source of the value. More... | |
| ContractOverridePolicy | override_policy = ContractOverridePolicy::Forbidden |
|
Override policy. More... | |
| bool | required = false |
|
If true, field must be set after resolution. More... | |
Description
Per-field contract: where the field value comes from and the override policy.
Definition at line 74 of file NodeContractDefinition.h.
Public Member Attributes
field_id
|
Stable field identifier.
Definition at line 75 of file NodeContractDefinition.h.
override_policy
|
Override policy.
Definition at line 77 of file NodeContractDefinition.h.
required
|
If true, field must be set after resolution.
Definition at line 78 of file NodeContractDefinition.h.
source
|
Source of the value.
Definition at line 76 of file NodeContractDefinition.h.
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.