pub enum Rule {
Show 68 variants
EOI,
num,
int,
percentage,
string,
semver,
semver_patch,
semver_build,
semver_fragment,
date,
quad_fragment,
trip_fragment,
pair_fragment,
timezone_fragment,
boolean,
numeric_list,
empty_list,
string_list,
semver_list,
WHITESPACE,
NULL_COALESCE,
random,
boolean_operation,
and,
or,
ordinal_operation,
lte,
gte,
lt,
eq,
gt,
string_list_operation,
starts_with,
ends_with,
contains_any,
string_list_operation_without_case,
starts_with_ignore_case,
ends_with_ignore_case,
contains_any_ignore_case,
list_operation,
invert_operation,
constraint,
default_strategy_constraint,
hostname_constraint,
hostname,
in,
ip_constraint,
ip_contains_operation,
string_fragment_constraint,
list_constraint,
date_constraint,
numeric_constraint,
semver_constraint,
rollout_constraint,
stickiness_param,
group_id_param,
external_value,
context_value,
user_id,
session_id,
remote_address,
app_name,
current_time,
environment,
property,
expr,
term,
strategy,
}
Variants§
EOI
End-of-input
num
int
percentage
string
semver
semver_patch
semver_build
semver_fragment
date
quad_fragment
trip_fragment
pair_fragment
timezone_fragment
boolean
numeric_list
empty_list
string_list
semver_list
WHITESPACE
NULL_COALESCE
random
boolean_operation
and
or
ordinal_operation
lte
gte
lt
eq
gt
string_list_operation
starts_with
ends_with
contains_any
string_list_operation_without_case
starts_with_ignore_case
ends_with_ignore_case
contains_any_ignore_case
list_operation
invert_operation
constraint
default_strategy_constraint
hostname_constraint
hostname
in
ip_constraint
ip_contains_operation
string_fragment_constraint
list_constraint
date_constraint
numeric_constraint
semver_constraint
rollout_constraint
stickiness_param
group_id_param
external_value
context_value
user_id
session_id
remote_address
app_name
current_time
environment
property
expr
term
strategy
Implementations§
Trait Implementations§
Source§impl Ord for Rule
impl Ord for Rule
Source§impl PartialOrd for Rule
impl PartialOrd for Rule
impl Copy for Rule
impl Eq for Rule
impl StructuralPartialEq for Rule
Auto Trait Implementations§
impl Freeze for Rule
impl RefUnwindSafe for Rule
impl Send for Rule
impl Sync for Rule
impl Unpin for Rule
impl UnwindSafe for Rule
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more