pub struct EngineEvaluationContext {
pub environment: EnvironmentContext,
pub features: HashMap<String, FeatureContext>,
pub segments: HashMap<String, SegmentContext>,
pub identity: Option<IdentityContext>,
}Expand description
Engine evaluation context that holds pre-processed environment data for efficient feature flag evaluation.
Fields§
§environment: EnvironmentContextEnvironment metadata.
features: HashMap<String, FeatureContext>Feature contexts indexed by feature name.
segments: HashMap<String, SegmentContext>Segment contexts indexed by segment key.
identity: Option<IdentityContext>Optional identity context for evaluation.
Trait Implementations§
Source§impl Clone for EngineEvaluationContext
impl Clone for EngineEvaluationContext
Source§fn clone(&self) -> EngineEvaluationContext
fn clone(&self) -> EngineEvaluationContext
Returns a duplicate 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 EngineEvaluationContext
impl Debug for EngineEvaluationContext
Source§impl<'de> Deserialize<'de> for EngineEvaluationContext
impl<'de> Deserialize<'de> for EngineEvaluationContext
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EngineEvaluationContext
impl RefUnwindSafe for EngineEvaluationContext
impl Send for EngineEvaluationContext
impl Sync for EngineEvaluationContext
impl Unpin for EngineEvaluationContext
impl UnwindSafe for EngineEvaluationContext
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