pub struct IntegrationPhaseConfig {
pub parallel_run: Option<DateRange>,
pub cutover_date: NaiveDate,
pub stabilization_end: NaiveDate,
pub parallel_run_error_rate: f64,
pub stabilization_error_rate: f64,
}Expand description
Integration phase configuration for acquisitions and mergers.
Fields§
§parallel_run: Option<DateRange>Parallel run period (both systems active).
cutover_date: NaiveDateCutover date (switch to single system).
stabilization_end: NaiveDateEnd of stabilization period.
parallel_run_error_rate: f64Error rate during parallel run.
stabilization_error_rate: f64Error rate during stabilization.
Implementations§
Source§impl IntegrationPhaseConfig
impl IntegrationPhaseConfig
Sourcepub fn total_duration_months(&self) -> u32
pub fn total_duration_months(&self) -> u32
Calculate total integration duration in months.
Sourcepub fn phase_at(&self, date: NaiveDate) -> IntegrationPhase
pub fn phase_at(&self, date: NaiveDate) -> IntegrationPhase
Get the current integration phase for a given date.
Sourcepub fn error_rate_at(&self, date: NaiveDate) -> f64
pub fn error_rate_at(&self, date: NaiveDate) -> f64
Get the error rate for a given date.
Trait Implementations§
Source§impl Clone for IntegrationPhaseConfig
impl Clone for IntegrationPhaseConfig
Source§fn clone(&self) -> IntegrationPhaseConfig
fn clone(&self) -> IntegrationPhaseConfig
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 IntegrationPhaseConfig
impl Debug for IntegrationPhaseConfig
Source§impl Default for IntegrationPhaseConfig
impl Default for IntegrationPhaseConfig
Source§impl<'de> Deserialize<'de> for IntegrationPhaseConfig
impl<'de> Deserialize<'de> for IntegrationPhaseConfig
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 IntegrationPhaseConfig
impl RefUnwindSafe for IntegrationPhaseConfig
impl Send for IntegrationPhaseConfig
impl Sync for IntegrationPhaseConfig
impl Unpin for IntegrationPhaseConfig
impl UnwindSafe for IntegrationPhaseConfig
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