pub enum ExpFlagValue {
Bool(bool),
Integer(i64),
Float(f64),
String(String),
Null,
}Expand description
A single ExP (Experiment Platform) flag value.
ExP assignments resolve to a string, number, boolean, or null.
Variants§
Bool(bool)
A boolean flag value.
Integer(i64)
An integer flag value.
Float(f64)
A floating-point flag value.
String(String)
A string flag value.
Null
A null flag value.
Trait Implementations§
Source§impl Clone for ExpFlagValue
impl Clone for ExpFlagValue
Source§fn clone(&self) -> ExpFlagValue
fn clone(&self) -> ExpFlagValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExpFlagValue
impl Debug for ExpFlagValue
Source§impl<'de> Deserialize<'de> for ExpFlagValue
impl<'de> Deserialize<'de> for ExpFlagValue
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 PartialEq for ExpFlagValue
impl PartialEq for ExpFlagValue
Source§impl Serialize for ExpFlagValue
impl Serialize for ExpFlagValue
impl StructuralPartialEq for ExpFlagValue
Auto Trait Implementations§
impl Freeze for ExpFlagValue
impl RefUnwindSafe for ExpFlagValue
impl Send for ExpFlagValue
impl Sync for ExpFlagValue
impl Unpin for ExpFlagValue
impl UnsafeUnpin for ExpFlagValue
impl UnwindSafe for ExpFlagValue
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