Enum polar_core::error::ValidationError [−][src]
pub enum ValidationError {
InvalidRule {
rule: String,
msg: String,
},
InvalidRuleType {
rule_type: String,
msg: String,
},
UndefinedRule {
rule_name: String,
},
}Variants
Fields of UndefinedRule
rule_name: StringTrait Implementations
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
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ValidationError
impl Send for ValidationError
impl Sync for ValidationError
impl Unpin for ValidationError
impl UnwindSafe for ValidationError
Blanket Implementations
Mutably borrows from an owned value. Read more