pub enum RunDataValue {
String(String),
Boolean(bool),
MeasureMap(BTreeMap<String, String>),
RatioMap(BTreeMap<String, String>),
}Expand description
Typed data value from a client (CLI/WASM). JSON parsing stays outside [parse_data_value].
Variants§
String(String)
Raw string, parsed against the target type’s specification by [parse_value_from_string].
Boolean(bool)
MeasureMap(BTreeMap<String, String>)
RatioMap(BTreeMap<String, String>)
Implementations§
Trait Implementations§
Source§impl Clone for RunDataValue
impl Clone for RunDataValue
Source§fn clone(&self) -> RunDataValue
fn clone(&self) -> RunDataValue
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 RunDataValue
impl Debug for RunDataValue
impl Eq for RunDataValue
Source§impl PartialEq for RunDataValue
impl PartialEq for RunDataValue
impl StructuralPartialEq for RunDataValue
Auto Trait Implementations§
impl Freeze for RunDataValue
impl RefUnwindSafe for RunDataValue
impl Send for RunDataValue
impl Sync for RunDataValue
impl Unpin for RunDataValue
impl UnsafeUnpin for RunDataValue
impl UnwindSafe for RunDataValue
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.