pub enum ChoiceValueParam {
Text(String),
Boolean(bool),
}Available on crate feature
decision-types only.Expand description
Choice values are typed: a string and a boolean with the same text are distinct.
Variants§
Trait Implementations§
Source§impl Clone for ChoiceValueParam
impl Clone for ChoiceValueParam
Source§impl Debug for ChoiceValueParam
impl Debug for ChoiceValueParam
Source§impl<'de> Deserialize<'de> for ChoiceValueParam
impl<'de> Deserialize<'de> for ChoiceValueParam
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 ChoiceValueParam
impl PartialEq for ChoiceValueParam
Source§impl Serialize for ChoiceValueParam
impl Serialize for ChoiceValueParam
impl StructuralPartialEq for ChoiceValueParam
Auto Trait Implementations§
impl Freeze for ChoiceValueParam
impl RefUnwindSafe for ChoiceValueParam
impl Send for ChoiceValueParam
impl Sync for ChoiceValueParam
impl Unpin for ChoiceValueParam
impl UnsafeUnpin for ChoiceValueParam
impl UnwindSafe for ChoiceValueParam
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