Skip to main content

Module condition

Module condition 

Source
Expand description

Types to specify conditions on data.

The root type is RuleCondition.

Structs§

AllCondition
Applies the ALL operation to an array field.
AndCondition
Combines multiple conditions using logical AND.
AnyCondition
Applies the ANY operation to an array field.
CidrCondition
A condition that checks whether an IP address lies in any of the given networks.
EqCondOptions
Options for EqCondition.
EqCondition
A condition that compares values for equality.
GlobCondition
A condition that uses glob matching.
GtCondition
A condition that applies >.
GteCondition
A condition that applies >=.
IpNetworks
A set of IP addresses and CIDR ranges.
LtCondition
A condition that applies <.
LteCondition
A condition that applies <=.
NotCondition
Applies logical NOT to a condition.
OrCondition
Combines multiple conditions using logical OR.
Release
A release to compare the versions of other releases against.
ReleaseCondition
A condition that compares the version of a release.

Enums§

ReleaseComparator
The comparison a ReleaseCondition applies.
RuleCondition
A condition that can be evaluated on structured data.

Traits§

IntoStrings
A type that can be converted to a list of strings.