Values.RuleConditionSourceThe conditional expression used to evaluate an email for determining if a rule action should be taken.
type nonrec t = {booleanExpression : RuleBooleanExpression.t option;The condition applies to a boolean expression passed in this field.
*)stringExpression : RuleStringExpression.t option;The condition applies to a string expression passed in this field.
*)numberExpression : RuleNumberExpression.t option;The condition applies to a number expression passed in this field.
*)ipExpression : RuleIpExpression.t option;The condition applies to an IP address expression passed in this field.
*)verdictExpression : RuleVerdictExpression.t option;The condition applies to a verdict expression passed in this field.
*)dmarcExpression : RuleDmarcExpression.t option;The condition applies to a DMARC policy expression passed in this field.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Structure of
(string
* [> `Double of Double.t
| `Enum of string
| `List of
[> `Enum of string | `String of RuleStringValue.t ] list
| `Structure of
(string
* [> `Enum of string
| `String of MimeHeaderAttribute.t
| `Structure of
(string
* [> `Enum of string
| `List of [> `String of AddressListArn.t ] list
| `String of AnalyzerArn.t ])
list ])
list ])
list ])
list ]