pub fn add_attempt_with_index(
        &mut self,
        time: Time,
        index: i32,
        started: Option<AtomicDateTime>,
        ended: Option<AtomicDateTime>,
        pause_time: Option<TimeSpan>,
    ) {
        let attempt = Attempt::new(index, time, started, ended, pause_time);
        self.attempt_history.push(attempt);
    }
/// Adds a new Attempt to the Run's Attempt History with a predetermined
/// History Index.
///
/// # Warning
///
/// This index may not overlap with an index that is already in the Attempt
/// History.
Adds a new Attempt to the Run's Attempt History with a predetermined
History Index.
Adds a new Attempt to the Run ' s Attempt History with a predetermined History Index .
pub fn add_attempt_with_index(
        &mut self,
        time: Time,
        index: i32,
        started: Option<AtomicDateTime>,
        ended: Option<AtomicDateTime>,
        pause_time: Option<TimeSpan>,
    ) {
        let attempt = Attempt::new(index, time, started, ended, pause_time);
        self.attempt_history.push(attempt);
    }
pub fn add_attempt_with_index ( & mut self , time : Time , index : i32 , started : Option < AtomicDateTime > , ended : Option < AtomicDateTime > , pause_time : Option < TimeSpan > , ) { let attempt = Attempt :: new ( index , time , started , ended , pause_time ) ; self . attempt_history . push ( attempt ) ; }
Adds a new Attempt to the Run's Attempt History with a predetermined
History Index.
Adds a new Attempt to the Run ' s Attempt History with a predetermined History Index .
&mut self
time
Time
index
i32
started
Option<AtomicDateTime>
ended
Option<AtomicDateTime>
pause_time
Option<TimeSpan>
&mut self
time
Time
index
i32
started
Option<AtomicDateTime>
ended
Option<AtomicDateTime>
pause_time
Option<TimeSpan>
warning
This index may not overlap with an index that is already in the Attempt
History.
This index may not overlap with an index that is already in the Attempt History .