#[non_exhaustive]pub struct EvaluateFeatureInput {
    pub project: Option<String>,
    pub feature: Option<String>,
    pub entity_id: Option<String>,
    pub evaluation_context: Option<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.project: Option<String>The name or ARN of the project that contains this feature.
feature: Option<String>The name of the feature being evaluated.
entity_id: Option<String>An internal ID that represents a unique user of the application. This entityID is checked against any override rules assigned for this feature.
evaluation_context: Option<String>A JSON object of attributes that you can optionally pass in as part of the evaluation event sent to Evidently from the user session. Evidently can use this value to match user sessions with defined audience segments. For more information, see Use segments to focus your audience.
If you include this parameter, the value must be a JSON object. A JSON array is not supported.
Implementations§
source§impl EvaluateFeatureInput
 
impl EvaluateFeatureInput
sourcepub fn project(&self) -> Option<&str>
 
pub fn project(&self) -> Option<&str>
The name or ARN of the project that contains this feature.
sourcepub fn entity_id(&self) -> Option<&str>
 
pub fn entity_id(&self) -> Option<&str>
An internal ID that represents a unique user of the application. This entityID is checked against any override rules assigned for this feature.
sourcepub fn evaluation_context(&self) -> Option<&str>
 
pub fn evaluation_context(&self) -> Option<&str>
A JSON object of attributes that you can optionally pass in as part of the evaluation event sent to Evidently from the user session. Evidently can use this value to match user sessions with defined audience segments. For more information, see Use segments to focus your audience.
If you include this parameter, the value must be a JSON object. A JSON array is not supported.
source§impl EvaluateFeatureInput
 
impl EvaluateFeatureInput
sourcepub fn builder() -> EvaluateFeatureInputBuilder
 
pub fn builder() -> EvaluateFeatureInputBuilder
Creates a new builder-style object to manufacture EvaluateFeatureInput.
Trait Implementations§
source§impl Clone for EvaluateFeatureInput
 
impl Clone for EvaluateFeatureInput
source§fn clone(&self) -> EvaluateFeatureInput
 
fn clone(&self) -> EvaluateFeatureInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for EvaluateFeatureInput
 
impl Debug for EvaluateFeatureInput
source§impl PartialEq<EvaluateFeatureInput> for EvaluateFeatureInput
 
impl PartialEq<EvaluateFeatureInput> for EvaluateFeatureInput
source§fn eq(&self, other: &EvaluateFeatureInput) -> bool
 
fn eq(&self, other: &EvaluateFeatureInput) -> bool
self and other values to be equal, and is used
by ==.