Module Values.RuleConditionSource

The conditional expression used to evaluate an email for determining if a rule action should be taken.

Sourcetype nonrec t = {
  1. booleanExpression : RuleBooleanExpression.t option;
    (*

    The condition applies to a boolean expression passed in this field.

    *)
  2. stringExpression : RuleStringExpression.t option;
    (*

    The condition applies to a string expression passed in this field.

    *)
  3. numberExpression : RuleNumberExpression.t option;
    (*

    The condition applies to a number expression passed in this field.

    *)
  4. ipExpression : RuleIpExpression.t option;
    (*

    The condition applies to an IP address expression passed in this field.

    *)
  5. verdictExpression : RuleVerdictExpression.t option;
    (*

    The condition applies to a verdict expression passed in this field.

    *)
  6. dmarcExpression : RuleDmarcExpression.t option;
    (*

    The condition applies to a DMARC policy expression passed in this field.

    *)
}
Sourceval make : ?booleanExpression:??? -> ?stringExpression:??? -> ?numberExpression:??? -> ?ipExpression:??? -> ?verdictExpression:??? -> ?dmarcExpression:??? -> unit -> t
Sourceval 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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t