pub struct AttributionView {
pub mode: String,
pub origin: String,
pub propagation: String,
pub confidence: String,
pub verdict: Option<String>,
}Expand description
The attribution answer in DR5’s reading order — mode, origin, propagation, confidence, then the counterfactual verdict when there is one — each part already in its designed wording. The terminal flattens the parts to one line; the web attribution pane renders them as separate elements.
Fields§
§mode: Stringstatic or counterfactual — owned, not &'static str, because the view must
deserialize on the web side of the wire.
origin: Stringorigin step 02 (gutter-padded) or origin unlocalized.
propagation: Stringstep 03, a contiguous steps 03–07, a comma list, or none.
confidence: String§verdict: Option<String>The counterfactual recovery verdict — recovered · 3 runs, not recovered · 3 runs, or
unverified · 3 runs — present only when re-execution produced evidence. None for static
attribution, whose wire form and terminal line are therefore unchanged.
Trait Implementations§
Source§impl Clone for AttributionView
impl Clone for AttributionView
Source§fn clone(&self) -> AttributionView
fn clone(&self) -> AttributionView
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AttributionView
impl Debug for AttributionView
Source§impl<'de> Deserialize<'de> for AttributionView
impl<'de> Deserialize<'de> for AttributionView
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for AttributionView
Source§impl PartialEq for AttributionView
impl PartialEq for AttributionView
Source§impl Serialize for AttributionView
impl Serialize for AttributionView
impl StructuralPartialEq for AttributionView
Auto Trait Implementations§
impl Freeze for AttributionView
impl RefUnwindSafe for AttributionView
impl Send for AttributionView
impl Sync for AttributionView
impl Unpin for AttributionView
impl UnsafeUnpin for AttributionView
impl UnwindSafe for AttributionView
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<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
key and return true if they are equal.