pub struct Disclosure {
pub domain: DecisionDomain,
pub level: DisclosureLevel,
pub signal: TrafficLight,
pub action_label: String,
pub explanation: Option<String>,
pub evidence_terms: Option<Vec<DisclosureEvidence>>,
pub bayesian_details: Option<BayesianDetails>,
}Expand description
A disclosure snapshot at a specific level for a single decision.
Fields§
§domain: DecisionDomainThe domain this decision belongs to.
level: DisclosureLevelThe disclosure level.
signal: TrafficLightTraffic light signal (always available).
action_label: StringAction label chosen.
explanation: Option<String>Plain English explanation (level >= 1).
evidence_terms: Option<Vec<DisclosureEvidence>>Evidence terms with Bayes factors (level >= 2).
bayesian_details: Option<BayesianDetails>Full Bayesian details (level >= 3).
Trait Implementations§
Source§impl Clone for Disclosure
impl Clone for Disclosure
Source§fn clone(&self) -> Disclosure
fn clone(&self) -> Disclosure
Returns a duplicate of the value. Read more
1.0.0 · 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 Disclosure
impl Debug for Disclosure
Auto Trait Implementations§
impl Freeze for Disclosure
impl RefUnwindSafe for Disclosure
impl Send for Disclosure
impl Sync for Disclosure
impl Unpin for Disclosure
impl UnsafeUnpin for Disclosure
impl UnwindSafe for Disclosure
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