ValidateAll checks the field values on RuleDefinition with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RuleDefinitionMultiError, or nil if none found.
()
| 1380 | // result is a list of violation errors wrapped in RuleDefinitionMultiError, |
| 1381 | // or nil if none found. |
| 1382 | func (m *RuleDefinition) ValidateAll() error { |
| 1383 | return m.validate(true) |
| 1384 | } |
| 1385 | |
| 1386 | func (m *RuleDefinition) validate(all bool) error { |
| 1387 | if m == nil { |