pub enum ExplanationNode {
Rule {
rule: RulePath,
body: String,
causes: Vec<Cause>,
children: Vec<ExplanationNode>,
},
Compose {
expression: String,
operands: Vec<ExplanationNode>,
},
DataInput {
data: DataPath,
display: String,
},
Conversion {
expression: String,
steps: Vec<SerializedConversionTraceStep>,
operands: Vec<ExplanationNode>,
},
Veto {
message: Option<String>,
},
}Variants§
Trait Implementations§
Source§impl Clone for ExplanationNode
impl Clone for ExplanationNode
Source§fn clone(&self) -> ExplanationNode
fn clone(&self) -> ExplanationNode
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 ExplanationNode
impl Debug for ExplanationNode
Auto Trait Implementations§
impl Freeze for ExplanationNode
impl RefUnwindSafe for ExplanationNode
impl Send for ExplanationNode
impl Sync for ExplanationNode
impl Unpin for ExplanationNode
impl UnsafeUnpin for ExplanationNode
impl UnwindSafe for ExplanationNode
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