Enum darklua_core::rules::RulePropertyValue [−][src]
pub enum RulePropertyValue {
Boolean(bool),
String(String),
Usize(usize),
Float(f64),
StringList(Vec<String>),
None,
}In order to be able to weakly-type the properties of any rule, this enum makes it possible to easily use serde to gather the value associated with a property.
Variants
Boolean(bool)String(String)Usize(usize)Float(f64)Trait Implementations
impl<'de> Deserialize<'de> for RulePropertyValue[src]
impl<'de> Deserialize<'de> for RulePropertyValue[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Serialize for RulePropertyValue[src]
impl Serialize for RulePropertyValue[src]Auto Trait Implementations
impl RefUnwindSafe for RulePropertyValue
impl RefUnwindSafe for RulePropertyValueimpl Send for RulePropertyValue
impl Send for RulePropertyValueimpl Sync for RulePropertyValue
impl Sync for RulePropertyValueimpl Unpin for RulePropertyValue
impl Unpin for RulePropertyValueimpl UnwindSafe for RulePropertyValue
impl UnwindSafe for RulePropertyValueBlanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]