|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
One violation: which field, and which declared key it broke. More...
#include <instance_constraints.hpp>
Public Member Functions | |
| bool | operator== (const ConstraintViolation &other) const noexcept=default |
| Value equality, so violations can be compared in tests. | |
Public Attributes | |
| std::string | field |
| The offending field's wire (JSON) name. | |
| ConstraintViolationKind | kind {ConstraintViolationKind::BelowMinimum} |
| What was violated. | |
One violation: which field, and which declared key it broke.
Definition at line 78 of file instance_constraints.hpp.
|
nodiscarddefaultnoexcept |
Value equality, so violations can be compared in tests.
| other | The violation to compare against. |
| std::string morph::forms::ConstraintViolation::field |
The offending field's wire (JSON) name.
Definition at line 80 of file instance_constraints.hpp.
| ConstraintViolationKind morph::forms::ConstraintViolation::kind {ConstraintViolationKind::BelowMinimum} |
What was violated.
Definition at line 82 of file instance_constraints.hpp.