Struct json_rules_engine_fork::ConditionResult
source · pub struct ConditionResult {
pub name: String,
pub status: Status,
pub children: Vec<ConditionResult>,
}
Expand description
Result of checking a rules tree.
Fields
name: String
Human-friendly description of the rule
status: Status
top-level status of this result
children: Vec<ConditionResult>
Results of any sub-rules
Trait Implementations
sourceimpl Debug for ConditionResult
impl Debug for ConditionResult
sourceimpl<'de> Deserialize<'de> for ConditionResult
impl<'de> Deserialize<'de> for ConditionResult
sourcefn 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
sourceimpl Serialize for ConditionResult
impl Serialize for ConditionResult
Auto Trait Implementations
impl RefUnwindSafe for ConditionResult
impl Send for ConditionResult
impl Sync for ConditionResult
impl Unpin for ConditionResult
impl UnwindSafe for ConditionResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more