pub struct RuleResult {
pub vetoed: bool,
pub veto_reason: Option<String>,
pub rule_type: String,
pub value: Option<RuleResultValue>,
pub explanation: Option<Explanation>,
pub missing_data: Vec<String>,
}Expand description
Rule result JSON: flattened value fields, no rule/veto_detail.
Fields§
§vetoed: bool§veto_reason: Option<String>§rule_type: String§value: Option<RuleResultValue>§explanation: Option<Explanation>§missing_data: Vec<String>Trait Implementations§
Source§impl Clone for RuleResult
impl Clone for RuleResult
Source§fn clone(&self) -> RuleResult
fn clone(&self) -> RuleResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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 Freeze for RuleResult
impl RefUnwindSafe for RuleResult
impl Send for RuleResult
impl Sync for RuleResult
impl Unpin for RuleResult
impl UnsafeUnpin for RuleResult
impl UnwindSafe for RuleResult
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