pub struct LayerEvaluation {
pub base: BaseEvaluation,
pub value: HashMap<String, Value>,
pub id_type: String,
pub group: String,
pub is_device_based: bool,
pub group_name: Option<String>,
pub is_experiment_active: Option<bool>,
pub is_user_in_experiment: Option<bool>,
pub allocated_experiment_name: Option<String>,
pub explicit_parameters: Vec<String>,
pub undelegated_secondary_exposures: Option<Vec<SecondaryExposure>>,
}
Fields§
§base: BaseEvaluation
§value: HashMap<String, Value>
§id_type: String
§group: String
§is_device_based: bool
§group_name: Option<String>
§is_experiment_active: Option<bool>
§is_user_in_experiment: Option<bool>
§allocated_experiment_name: Option<String>
§explicit_parameters: Vec<String>
§undelegated_secondary_exposures: Option<Vec<SecondaryExposure>>
Trait Implementations§
Source§impl Clone for LayerEvaluation
impl Clone for LayerEvaluation
Source§fn clone(&self) -> LayerEvaluation
fn clone(&self) -> LayerEvaluation
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<'de> Deserialize<'de> for LayerEvaluation
impl<'de> Deserialize<'de> for LayerEvaluation
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
Source§impl<'a> From<&'a LayerEvaluation> for AnyEvaluation<'a>
impl<'a> From<&'a LayerEvaluation> for AnyEvaluation<'a>
Source§fn from(layer_eval: &'a LayerEvaluation) -> Self
fn from(layer_eval: &'a LayerEvaluation) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LayerEvaluation
impl RefUnwindSafe for LayerEvaluation
impl Send for LayerEvaluation
impl Sync for LayerEvaluation
impl Unpin for LayerEvaluation
impl UnwindSafe for LayerEvaluation
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