pub struct PreflightConfig {
pub enabled: bool,
pub max_replication_lag_mb: i64,
pub long_query_threshold_secs: i64,
}Expand description
Configuration for pre-flight checks.
Fields§
§enabled: boolWhether pre-flight checks are enabled before migrations.
max_replication_lag_mb: i64Maximum acceptable replication lag in megabytes before warning.
long_query_threshold_secs: i64Threshold in seconds for detecting long-running queries.
Trait Implementations§
Source§impl Clone for PreflightConfig
impl Clone for PreflightConfig
Source§fn clone(&self) -> PreflightConfig
fn clone(&self) -> PreflightConfig
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 PreflightConfig
impl Debug for PreflightConfig
Auto Trait Implementations§
impl Freeze for PreflightConfig
impl RefUnwindSafe for PreflightConfig
impl Send for PreflightConfig
impl Sync for PreflightConfig
impl Unpin for PreflightConfig
impl UnsafeUnpin for PreflightConfig
impl UnwindSafe for PreflightConfig
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