pub struct TimelineBranch {
pub branch_id: String,
pub name: String,
pub universe_usri: String,
pub divergence_epoch: String,
pub bifurcation_hash: u64,
pub parent_branch: Option<String>,
}Expand description
A timeline branch in a universe (OCS §6.1).
Fields§
§branch_id: StringBranch identifier (e.g. “prime”, “mirror”, “kelvin”)
name: StringHuman-readable name
universe_usri: StringUSRI of the parent universe
divergence_epoch: StringDivergence epoch — when this branch split from its parent
bifurcation_hash: u64Quantum state bifurcation hash (SHA-256 of the divergence event)
parent_branch: Option<String>Parent branch ID (None for the root/prime timeline)
Implementations§
Source§impl TimelineBranch
impl TimelineBranch
Sourcepub fn divergent(
branch_id: &str,
name: &str,
universe_usri: &str,
divergence_epoch: &str,
parent_branch: &str,
) -> Self
pub fn divergent( branch_id: &str, name: &str, universe_usri: &str, divergence_epoch: &str, parent_branch: &str, ) -> Self
Create a divergent branch from a parent timeline (OCS §6.1).
Sourcepub fn context_hash(&self) -> u64
pub fn context_hash(&self) -> u64
Compute a unique context hash for this branch (OCS §6.1). Used for paraconsistent isolation between divergent timelines.
Trait Implementations§
Source§impl Clone for TimelineBranch
impl Clone for TimelineBranch
Source§impl Debug for TimelineBranch
impl Debug for TimelineBranch
Source§impl PartialEq for TimelineBranch
impl PartialEq for TimelineBranch
impl StructuralPartialEq for TimelineBranch
Auto Trait Implementations§
impl Freeze for TimelineBranch
impl RefUnwindSafe for TimelineBranch
impl Send for TimelineBranch
impl Sync for TimelineBranch
impl Unpin for TimelineBranch
impl UnsafeUnpin for TimelineBranch
impl UnwindSafe for TimelineBranch
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