pub struct Edge {
pub parent_id: String,
pub edge_type: EdgeType,
pub role: EdgeRole,
pub ordinal: u32,
pub source_field: &'static str,
}Expand description
One parent link of a clip, for the later lineage graph store.
Fields§
§parent_id: StringThe parent clip id, normalised (m_ stripped, sentinel dropped).
edge_type: EdgeTypeHow the clip relates to this parent.
role: EdgeRoleWhether this is the primary parent or a secondary source.
ordinal: u32Position within its role (0 for the primary, then secondaries in order).
source_field: &'static strThe metadata field this parent id was read from.
Trait Implementations§
impl Eq for Edge
impl StructuralPartialEq for Edge
Auto Trait Implementations§
impl Freeze for Edge
impl RefUnwindSafe for Edge
impl Send for Edge
impl Sync for Edge
impl Unpin for Edge
impl UnsafeUnpin for Edge
impl UnwindSafe for Edge
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