pub enum AssignmentStrategy {
RoundRobin,
Random,
AllControl,
AllTreatment,
}Expand description
Strategy for assigning samples to variants.
Variants§
RoundRobin
Alternate between control and treatment
Random
Random assignment (50/50)
AllControl
All to control (baseline measurement)
AllTreatment
All to treatment (full rollout)
Trait Implementations§
Source§impl Clone for AssignmentStrategy
impl Clone for AssignmentStrategy
Source§fn clone(&self) -> AssignmentStrategy
fn clone(&self) -> AssignmentStrategy
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 AssignmentStrategy
impl Debug for AssignmentStrategy
Source§impl PartialEq for AssignmentStrategy
impl PartialEq for AssignmentStrategy
impl Copy for AssignmentStrategy
impl Eq for AssignmentStrategy
impl StructuralPartialEq for AssignmentStrategy
Auto Trait Implementations§
impl Freeze for AssignmentStrategy
impl RefUnwindSafe for AssignmentStrategy
impl Send for AssignmentStrategy
impl Sync for AssignmentStrategy
impl Unpin for AssignmentStrategy
impl UnwindSafe for AssignmentStrategy
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