#[repr(u8)]pub enum DisclosureLevel {
TrafficLight = 0,
PlainEnglish = 1,
EvidenceTerms = 2,
FullBayesian = 3,
}Expand description
Progressive disclosure level for decision transparency.
Variants§
TrafficLight = 0
Traffic light indicator only.
PlainEnglish = 1
Plain English one-sentence explanation.
EvidenceTerms = 2
Evidence terms with probabilities and confidence intervals.
FullBayesian = 3
Full Bayesian factor breakdown.
Implementations§
Trait Implementations§
Source§impl Clone for DisclosureLevel
impl Clone for DisclosureLevel
Source§fn clone(&self) -> DisclosureLevel
fn clone(&self) -> DisclosureLevel
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 moreimpl Copy for DisclosureLevel
Source§impl Debug for DisclosureLevel
impl Debug for DisclosureLevel
impl Eq for DisclosureLevel
Source§impl Hash for DisclosureLevel
impl Hash for DisclosureLevel
Source§impl Ord for DisclosureLevel
impl Ord for DisclosureLevel
Source§fn cmp(&self, other: &DisclosureLevel) -> Ordering
fn cmp(&self, other: &DisclosureLevel) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DisclosureLevel
impl PartialEq for DisclosureLevel
Source§fn eq(&self, other: &DisclosureLevel) -> bool
fn eq(&self, other: &DisclosureLevel) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for DisclosureLevel
impl PartialOrd for DisclosureLevel
impl StructuralPartialEq for DisclosureLevel
Auto Trait Implementations§
impl Freeze for DisclosureLevel
impl RefUnwindSafe for DisclosureLevel
impl Send for DisclosureLevel
impl Sync for DisclosureLevel
impl Unpin for DisclosureLevel
impl UnsafeUnpin for DisclosureLevel
impl UnwindSafe for DisclosureLevel
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.