pub struct BranchLineage {
pub lineage_id: String,
pub parent_branch_id: String,
pub child_branch_id: String,
pub depends_on_seal: bool,
}Expand description
PSP-5 Phase 6: Parent → child branch lineage record.
Records the dependency edge between a parent branch (or committed node) and a child provisional branch. Used by flush propagation to find all descendants that must be discarded when a parent fails.
Fields§
§lineage_id: StringUnique lineage record ID.
parent_branch_id: StringParent branch ID (or committed node ID if the parent is committed).
child_branch_id: StringChild branch ID.
depends_on_seal: boolWhether the dependency is on the parent’s sealed interface (vs. full output).
Trait Implementations§
Source§impl Clone for BranchLineage
impl Clone for BranchLineage
Source§fn clone(&self) -> BranchLineage
fn clone(&self) -> BranchLineage
Returns a duplicate of the value. Read more
1.0.0 · 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 BranchLineage
impl Debug for BranchLineage
Source§impl<'de> Deserialize<'de> for BranchLineage
impl<'de> Deserialize<'de> for BranchLineage
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<BranchLineage, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BranchLineage, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for BranchLineage
impl Serialize for BranchLineage
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for BranchLineage
impl RefUnwindSafe for BranchLineage
impl Send for BranchLineage
impl Sync for BranchLineage
impl Unpin for BranchLineage
impl UnsafeUnpin for BranchLineage
impl UnwindSafe for BranchLineage
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more