pub fn to_value(c: &Condition) -> Result<Value>
Serialize a predicate for storage on a Trigger grain.