Enum open_feature::EvaluationReason
source · 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 PartialEq for EvaluationReason
impl PartialEq for EvaluationReason
source§fn eq(&self, other: &EvaluationReason) -> bool
fn eq(&self, other: &EvaluationReason) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl ToString for EvaluationReason
impl ToString for EvaluationReason
impl Eq for EvaluationReason
impl StructuralPartialEq for EvaluationReason
Auto Trait Implementations§
impl RefUnwindSafe for EvaluationReason
impl Send for EvaluationReason
impl Sync for EvaluationReason
impl Unpin for EvaluationReason
impl UnwindSafe for EvaluationReason
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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