pub struct TimelineFork {
pub id: TemporalId,
pub branch_point: TemporalId,
pub alternative_index: usize,
pub simulated_events: Vec<SimulatedEvent>,
pub projected_outcome: String,
pub confidence: f64,
}Expand description
A forked timeline exploring a different choice.
Fields§
§id: TemporalIdUnique identifier.
branch_point: TemporalIdThe branch point this fork diverges from.
alternative_index: usizeIndex into the branch point’s alternatives vec.
simulated_events: Vec<SimulatedEvent>Simulated events that would have occurred.
projected_outcome: StringProjected outcome of this timeline.
confidence: f64Confidence in this projection (0.0-1.0).
Trait Implementations§
Source§impl Clone for TimelineFork
impl Clone for TimelineFork
Source§fn clone(&self) -> TimelineFork
fn clone(&self) -> TimelineFork
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 TimelineFork
impl Debug for TimelineFork
Source§impl<'de> Deserialize<'de> for TimelineFork
impl<'de> Deserialize<'de> for TimelineFork
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
Auto Trait Implementations§
impl Freeze for TimelineFork
impl RefUnwindSafe for TimelineFork
impl Send for TimelineFork
impl Sync for TimelineFork
impl Unpin for TimelineFork
impl UnsafeUnpin for TimelineFork
impl UnwindSafe for TimelineFork
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