pub struct RuleResult {
pub vetoed: bool,
pub veto_reason: Option<String>,
pub rule_type: String,
pub result: Option<RuleResultValue>,
pub explanation: Option<Explanation>,
pub missing_data: Vec<String>,
pub missing_data_options: IndexMap<String, Vec<Value>>,
}Expand description
Rule result JSON: flattened value fields, no rule/veto_detail.
Fields§
§vetoed: bool§veto_reason: Option<String>§rule_type: String§result: Option<RuleResultValue>§explanation: Option<Explanation>§missing_data: Vec<String>§missing_data_options: IndexMap<String, Vec<Value>>Closed options for keys in Self::missing_data on this run.
Trait Implementations§
Source§impl Clone for RuleResult
impl Clone for RuleResult
Source§impl Debug for RuleResult
impl Debug for RuleResult
Source§impl From<&RuleResult> for RuleResult
impl From<&RuleResult> for RuleResult
Source§fn from(result: &DomainRuleResult) -> Self
fn from(result: &DomainRuleResult) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Forget for RuleResult
impl Freeze for RuleResultwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const LeafNode<String, Decimal> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Decimal)>>: Freeze,
*const RangeResult is !null: Freeze,
PhantomData<RangeResult>: Freeze,
*const SpecResult is !null: Freeze,
PhantomData<SpecResult>: Freeze,
PhantomData<RuleResultValue>: Freeze,
PhantomData<usize>: Freeze,
PhantomData<Bucket<String, RuleResultValue>>: Freeze,
PhantomData<PathSegment>: Freeze,
PhantomData<u32>: Freeze,
*const ArcInner<str> is !null: Freeze,
PhantomData<ArcInner<str>>: Freeze,
*const TypedLiteral is !null: Freeze,
PhantomData<TypedLiteral>: Freeze,
*const ArcInner<RowInstance> is !null: Freeze,
PhantomData<ArcInner<RowInstance>>: Freeze,
*const InstanceKey is !null: Freeze,
PhantomData<InstanceKey>: Freeze,
*const ArcInner<[TypedLiteral]> is !null: Freeze,
PhantomData<ArcInner<[TypedLiteral]>>: Freeze,
*const ArcInner<RowStore> is !null: Freeze,
PhantomData<ArcInner<RowStore>>: Freeze,
*const ArcInner<LemmaType> is !null: Freeze,
PhantomData<ArcInner<LemmaType>>: Freeze,
*const ArcInner<KeyIndex> is !null: Freeze,
PhantomData<ArcInner<KeyIndex>>: Freeze,
*const ArcInner<InstanceFactors> is !null: Freeze,
PhantomData<ArcInner<InstanceFactors>>: Freeze,
*const ArcInner<FamilyUnitCatalog> is !null: Freeze,
PhantomData<ArcInner<FamilyUnitCatalog>>: Freeze,
PhantomData<(String, RationalInteger)>: Freeze,
PhantomData<Cause>: Freeze,
PhantomData<ExplanationNode>: Freeze,
PhantomData<ExplainedRule>: Freeze,
PhantomData<String>: Freeze,
PhantomData<Bucket<String, Vec<Value>>>: Freeze,
impl Move for RuleResult
impl RefUnwindSafe for RuleResult
impl Send for RuleResultwhere
RawVecInner: Send,
NodeRef<Owned, String, Decimal, LeafOrInternal>: Send,
BoxRaw<(String, Decimal)>: Send,
BoxRaw<RangeResult>: Send,
BoxRaw<SpecResult>: Send,
RawTable<usize>: Send,
Arc<str>: Send,
BoxRaw<TypedLiteral>: Send,
Arc<RowInstance>: Send,
BoxRaw<InstanceKey>: Send,
Arc<[TypedLiteral]>: Send,
Arc<RowStore>: Send,
Arc<LemmaType>: Send,
Arc<KeyIndex>: Send,
Arc<InstanceFactors>: Send,
Arc<FamilyUnitCatalog>: Send,
RawTable<(String, RationalInteger)>: Send,
BoxRaw<RangeResult>: Send,
impl Sync for RuleResultwhere
RawVecInner: Sync,
NodeRef<Owned, String, Decimal, LeafOrInternal>: Sync,
BoxRaw<(String, Decimal)>: Sync,
BoxRaw<RangeResult>: Sync,
BoxRaw<SpecResult>: Sync,
RawTable<usize>: Sync,
Arc<str>: Sync,
BoxRaw<TypedLiteral>: Sync,
Arc<RowInstance>: Sync,
BoxRaw<InstanceKey>: Sync,
Arc<[TypedLiteral]>: Sync,
Arc<RowStore>: Sync,
Arc<LemmaType>: Sync,
Arc<KeyIndex>: Sync,
Arc<InstanceFactors>: Sync,
Arc<FamilyUnitCatalog>: Sync,
RawTable<(String, RationalInteger)>: Sync,
BoxRaw<RangeResult>: Sync,
impl Unpin for RuleResultwhere
*const u8 is !null: Unpin,
*const LeafNode<String, Decimal> is !null: Unpin,
Box<(String, Decimal)>: Unpin,
Box<RangeResult>: Unpin,
Box<SpecResult>: Unpin,
Arc<str>: Unpin,
Box<TypedLiteral>: Unpin,
Arc<RowInstance>: Unpin,
Box<InstanceKey>: Unpin,
Arc<[TypedLiteral]>: Unpin,
Arc<RowStore>: Unpin,
Arc<LemmaType>: Unpin,
Arc<KeyIndex>: Unpin,
Arc<InstanceFactors>: Unpin,
Arc<FamilyUnitCatalog>: Unpin,
Box<RangeResult>: Unpin,
impl UnsafeUnpin for RuleResultwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<String, Decimal> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Decimal)>>: UnsafeUnpin,
*const RangeResult is !null: UnsafeUnpin,
PhantomData<RangeResult>: UnsafeUnpin,
*const SpecResult is !null: UnsafeUnpin,
PhantomData<SpecResult>: UnsafeUnpin,
PhantomData<RuleResultValue>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Bucket<String, RuleResultValue>>: UnsafeUnpin,
PhantomData<PathSegment>: UnsafeUnpin,
PhantomData<u32>: UnsafeUnpin,
*const ArcInner<str> is !null: UnsafeUnpin,
PhantomData<ArcInner<str>>: UnsafeUnpin,
*const TypedLiteral is !null: UnsafeUnpin,
PhantomData<TypedLiteral>: UnsafeUnpin,
*const ArcInner<RowInstance> is !null: UnsafeUnpin,
PhantomData<ArcInner<RowInstance>>: UnsafeUnpin,
*const InstanceKey is !null: UnsafeUnpin,
PhantomData<InstanceKey>: UnsafeUnpin,
*const ArcInner<[TypedLiteral]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[TypedLiteral]>>: UnsafeUnpin,
*const ArcInner<RowStore> is !null: UnsafeUnpin,
PhantomData<ArcInner<RowStore>>: UnsafeUnpin,
*const ArcInner<LemmaType> is !null: UnsafeUnpin,
PhantomData<ArcInner<LemmaType>>: UnsafeUnpin,
*const ArcInner<KeyIndex> is !null: UnsafeUnpin,
PhantomData<ArcInner<KeyIndex>>: UnsafeUnpin,
*const ArcInner<InstanceFactors> is !null: UnsafeUnpin,
PhantomData<ArcInner<InstanceFactors>>: UnsafeUnpin,
*const ArcInner<FamilyUnitCatalog> is !null: UnsafeUnpin,
PhantomData<ArcInner<FamilyUnitCatalog>>: UnsafeUnpin,
PhantomData<(String, RationalInteger)>: UnsafeUnpin,
PhantomData<Cause>: UnsafeUnpin,
PhantomData<ExplanationNode>: UnsafeUnpin,
PhantomData<ExplainedRule>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<Bucket<String, Vec<Value>>>: UnsafeUnpin,
impl UnwindSafe for RuleResultwhere
RawVecInner: UnwindSafe,
BTreeMap<String, Decimal>: UnwindSafe,
BoxRaw<RangeResult>: UnwindSafe,
BoxRaw<SpecResult>: UnwindSafe,
NonNull<u8>: UnwindSafe,
Arc<str>: UnwindSafe,
BoxRaw<TypedLiteral>: UnwindSafe,
Arc<RowInstance>: UnwindSafe,
BoxRaw<InstanceKey>: UnwindSafe,
Arc<[TypedLiteral]>: UnwindSafe,
Arc<RowStore>: UnwindSafe,
Arc<LemmaType>: UnwindSafe,
Arc<KeyIndex>: UnwindSafe,
Arc<InstanceFactors>: UnwindSafe,
Arc<FamilyUnitCatalog>: UnwindSafe,
HashMap<String, RationalInteger>: UnwindSafe,
BoxRaw<RangeResult>: UnwindSafe,
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