pub struct Experiment {
pub name: Option<String>,
pub seed: Option<String>,
pub hash_version: Option<i64>,
pub hash_attribute: Option<String>,
pub namespace: Option<Vec<Value>>,
pub coverage: Option<f32>,
pub ranges: Option<Vec<Vec<f32>>>,
pub meta: Option<Value>,
pub filters: Option<Value>,
pub variations: Vec<Value>,
pub weights: Option<Vec<f32>>,
pub condition: Option<Value>,
}Fields§
§name: Option<String>§seed: Option<String>§hash_version: Option<i64>§hash_attribute: Option<String>§namespace: Option<Vec<Value>>§coverage: Option<f32>§ranges: Option<Vec<Vec<f32>>>§meta: Option<Value>§filters: Option<Value>§variations: Vec<Value>§weights: Option<Vec<f32>>§condition: Option<Value>Trait Implementations§
Source§impl Clone for Experiment
impl Clone for Experiment
Source§fn clone(&self) -> Experiment
fn clone(&self) -> Experiment
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 Experiment
impl Debug for Experiment
Auto Trait Implementations§
impl Freeze for Experiment
impl RefUnwindSafe for Experiment
impl Send for Experiment
impl Sync for Experiment
impl Unpin for Experiment
impl UnwindSafe for Experiment
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