pub enum EvaluationReason {
Static,
Default,
TargetingMatch,
Split,
Cached,
Disabled,
Unknown,
Error,
Other(String),
}
Expand description
Reason for evaluation.
Variants§
Static
The resolved value is static (no dynamic evaluation).
Default
The resolved value fell back to a pre-configured value (no dynamic evaluation occurred or dynamic evaluation yielded no result).
TargetingMatch
The resolved value was the result of a dynamic evaluation, such as a rule or specific user-targeting.
Split
The resolved value was the result of pseudorandom assignment.
Cached
The resolved value was retrieved from cache.
Disabled
The resolved value was the result of the flag being disabled in the management system.
Unknown
The reason for the resolved value could not be determined.
Error
The resolved value was the result of an error.
Other(String)
Other custom reason.
Trait Implementations§
Source§impl Clone for EvaluationReason
impl Clone for EvaluationReason
Source§fn clone(&self) -> EvaluationReason
fn clone(&self) -> EvaluationReason
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for EvaluationReason
impl Debug for EvaluationReason
Source§impl Default for EvaluationReason
impl Default for EvaluationReason
Source§fn default() -> EvaluationReason
fn default() -> EvaluationReason
Returns the “default value” for a type. Read more
Source§impl Display for EvaluationReason
impl Display for EvaluationReason
Source§impl PartialEq for EvaluationReason
impl PartialEq for EvaluationReason
impl Eq for EvaluationReason
impl StructuralPartialEq for EvaluationReason
Auto Trait Implementations§
impl Freeze for EvaluationReason
impl RefUnwindSafe for EvaluationReason
impl Send for EvaluationReason
impl Sync for EvaluationReason
impl Unpin for EvaluationReason
impl UnwindSafe for EvaluationReason
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