pub struct StoredEdge {
pub child_id: String,
pub parent_id: String,
pub edge_type: String,
pub role: String,
pub source_field: String,
pub ordinal: u32,
pub status: String,
pub first_seen_at: String,
pub last_seen_at: String,
}Expand description
One parent link, keyed (for upsert) by (child_id, parent_id, edge_type, role, ordinal). A flat row, not nested under its child, so it maps directly
to a lineage_edges table.
Fields§
§child_id: String§parent_id: String§edge_type: StringStable lowercase slug, e.g. "cover", "remaster", "section_replace".
role: String"primary" for the rooting parent, "secondary" for extra sources.
source_field: StringThe clip field the parent id was read from, e.g. "cover_clip_id".
ordinal: u32Position within its role (0 for the primary, then secondaries in order).
status: StringLifecycle marker; "active" for an edge observed this run.
first_seen_at: String§last_seen_at: StringTrait Implementations§
Source§impl Clone for StoredEdge
impl Clone for StoredEdge
Source§fn clone(&self) -> StoredEdge
fn clone(&self) -> StoredEdge
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 StoredEdge
impl Debug for StoredEdge
Source§impl Default for StoredEdge
impl Default for StoredEdge
Source§impl<'de> Deserialize<'de> for StoredEdgewhere
StoredEdge: Default,
impl<'de> Deserialize<'de> for StoredEdgewhere
StoredEdge: Default,
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
Source§impl PartialEq for StoredEdge
impl PartialEq for StoredEdge
Source§fn eq(&self, other: &StoredEdge) -> bool
fn eq(&self, other: &StoredEdge) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StoredEdge
impl Serialize for StoredEdge
impl StructuralPartialEq for StoredEdge
Auto Trait Implementations§
impl Freeze for StoredEdge
impl RefUnwindSafe for StoredEdge
impl Send for StoredEdge
impl Sync for StoredEdge
impl Unpin for StoredEdge
impl UnsafeUnpin for StoredEdge
impl UnwindSafe for StoredEdge
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