#[non_exhaustive]pub enum DecisionChoiceValue {
String(String),
Boolean(bool),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for DecisionChoiceValue
impl Clone for DecisionChoiceValue
Source§impl Debug for DecisionChoiceValue
impl Debug for DecisionChoiceValue
Source§impl DeclaredFields for DecisionChoiceValue
impl DeclaredFields for DecisionChoiceValue
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for DecisionChoiceValue
impl<'de> Deserialize<'de> for DecisionChoiceValue
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 DecisionChoiceValue
impl PartialEq for DecisionChoiceValue
Source§impl Serialize for DecisionChoiceValue
impl Serialize for DecisionChoiceValue
impl StructuralPartialEq for DecisionChoiceValue
Auto Trait Implementations§
impl Freeze for DecisionChoiceValue
impl RefUnwindSafe for DecisionChoiceValue
impl Send for DecisionChoiceValue
impl Sync for DecisionChoiceValue
impl Unpin for DecisionChoiceValue
impl UnsafeUnpin for DecisionChoiceValue
impl UnwindSafe for DecisionChoiceValue
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