pub enum TestVariant {
Control,
Treatment,
}Expand description
A/B test variant identifier.
Variants§
Trait Implementations§
Source§impl Clone for TestVariant
impl Clone for TestVariant
Source§fn clone(&self) -> TestVariant
fn clone(&self) -> TestVariant
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 TestVariant
impl Debug for TestVariant
Source§impl<'de> Deserialize<'de> for TestVariant
impl<'de> Deserialize<'de> for TestVariant
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 Display for TestVariant
impl Display for TestVariant
Source§impl Hash for TestVariant
impl Hash for TestVariant
Source§impl PartialEq for TestVariant
impl PartialEq for TestVariant
Source§impl Serialize for TestVariant
impl Serialize for TestVariant
impl Copy for TestVariant
impl Eq for TestVariant
impl StructuralPartialEq for TestVariant
Auto Trait Implementations§
impl Freeze for TestVariant
impl RefUnwindSafe for TestVariant
impl Send for TestVariant
impl Sync for TestVariant
impl Unpin for TestVariant
impl UnwindSafe for TestVariant
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