pub struct AttributionCard {
pub run: Ref,
pub event_count: usize,
pub effect_count: usize,
pub unresolved_effect_count: usize,
pub aborted_effect_count: usize,
pub evidence: Vec<AttributionEvidence>,
}Expand description
Card-shaped attribution summary over an event ledger and effect ledger.
Fields§
§run: RefReference to the run this card summarizes.
event_count: usizeNumber of events attributed to the run.
effect_count: usizeNumber of effect records observed.
unresolved_effect_count: usizeNumber of effect records that never resolved.
aborted_effect_count: usizeNumber of effect records that were aborted.
evidence: Vec<AttributionEvidence>Per-event and per-effect attribution rows.
Implementations§
Trait Implementations§
Source§impl Clone for AttributionCard
impl Clone for AttributionCard
Source§fn clone(&self) -> AttributionCard
fn clone(&self) -> AttributionCard
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 AttributionCard
impl Debug for AttributionCard
impl Eq for AttributionCard
Source§impl PartialEq for AttributionCard
impl PartialEq for AttributionCard
Source§fn eq(&self, other: &AttributionCard) -> bool
fn eq(&self, other: &AttributionCard) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AttributionCard
Auto Trait Implementations§
impl Freeze for AttributionCard
impl RefUnwindSafe for AttributionCard
impl Send for AttributionCard
impl Sync for AttributionCard
impl Unpin for AttributionCard
impl UnsafeUnpin for AttributionCard
impl UnwindSafe for AttributionCard
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