pub struct Contribution {
pub kind: ContributionKind,
pub source_id: String,
pub label: String,
pub weighted_milli: u32,
pub evidence: EvidenceTier,
}Expand description
A single linkage to an underlying consideration — the traceability that makes the score-card the opposite of a black box. Says what contributed, how much (weighted), and on what evidence.
Fields§
§kind: ContributionKind§source_id: StringThe underlying id (system id, factor id, …) — the click-through target.
label: StringHuman-readable label.
weighted_milli: u32This source’s weighted contribution to the aspect score (integer milli).
evidence: EvidenceTierThe evidence backing this contribution (never collapsed across tiers).
Trait Implementations§
Source§impl Clone for Contribution
impl Clone for Contribution
Source§impl Debug for Contribution
impl Debug for Contribution
Source§impl<'de> Deserialize<'de> for Contribution
impl<'de> Deserialize<'de> for Contribution
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Contribution
Source§impl PartialEq for Contribution
impl PartialEq for Contribution
Source§impl Serialize for Contribution
impl Serialize for Contribution
impl StructuralPartialEq for Contribution
Auto Trait Implementations§
impl Freeze for Contribution
impl RefUnwindSafe for Contribution
impl Send for Contribution
impl Sync for Contribution
impl Unpin for Contribution
impl UnsafeUnpin for Contribution
impl UnwindSafe for Contribution
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