pub struct AttributionEdge {
pub parent_id: String,
pub edge_slug: String,
pub role: EdgeRole,
pub ordinal: u32,
pub source_field: &'static str,
pub same_owner: bool,
}Expand description
An attribution edge derived from a clip’s nested clip_roots list.
This is informational lineage the API states directly (the clip was remixed
from these roots), NOT a structural parent. It is deliberately kept apart
from the EdgeType-classified structural Edges: it is NEVER read by
immediate_parent, [primary_parent], lineage_edges, or the root
walk. It feeds only the durable graph store (as a
secondary edge carrying the open attribution slug) and, for a same-owner
root, a bounded gap-fill seed. It can never fabricate a structural parent,
an external boundary, or a download candidate.
Fields§
§parent_id: StringThe root clip id, normalised (m_ stripped, sentinel dropped).
edge_slug: StringThe raw attribution slug from clip_attribution_type (open, e.g.
"remix"); normalisation to a stored form happens at the graph layer,
never against the closed EdgeType.
role: EdgeRoleAlways EdgeRole::Secondary: attribution never supplants a clip’s
structural primary parent.
ordinal: u32Position within the clip’s clip_roots.clips[] list (0..N).
source_field: &'static strThe field these came from (always "clip_roots").
same_owner: boolWhether the root shares the clip’s owner handle (fail-closed): only a same-owner root is ever gap-fill seeded.
Trait Implementations§
Source§impl Clone for AttributionEdge
impl Clone for AttributionEdge
Source§fn clone(&self) -> AttributionEdge
fn clone(&self) -> AttributionEdge
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 AttributionEdge
impl Debug for AttributionEdge
impl Eq for AttributionEdge
Source§impl PartialEq for AttributionEdge
impl PartialEq for AttributionEdge
Source§fn eq(&self, other: &AttributionEdge) -> bool
fn eq(&self, other: &AttributionEdge) -> bool
self and other values to be equal, and is used by ==.