pub fn validate(
entity: &EntityInfo,
object: &Object,
context: &str,
space: &dyn ObjectSpace,
words: &RuleWords,
) -> Vec<Violation>Expand description
Checks a record against the rules of its entity that apply in this context. It does not run by itself: forms call it before keeping, and anything else that writes calls it itself.