pub struct CmSettings {
pub cm_port: Option<u16>,
pub cm_session_timeout: Option<u32>,
pub auto_recovery: Option<bool>,
pub auto_failover: Option<bool>,
pub slave_ha: Option<bool>,
pub slave_ha_grace_period: Option<u32>,
pub max_simultaneous_backups: Option<u32>,
pub extra: Value,
}
Expand description
Cluster Manager settings
Fields§
§cm_port: Option<u16>
Port number for the Cluster Manager service
cm_session_timeout: Option<u32>
Session timeout for Cluster Manager connections in seconds
auto_recovery: Option<bool>
Enable automatic recovery of failed databases
auto_failover: Option<bool>
Enable automatic failover for high availability
slave_ha: Option<bool>
Enable slave high availability for replica databases
slave_ha_grace_period: Option<u32>
Grace period in seconds before triggering slave high availability
max_simultaneous_backups: Option<u32>
Maximum number of simultaneous backup operations allowed
extra: Value
Trait Implementations§
Source§impl Clone for CmSettings
impl Clone for CmSettings
Source§fn clone(&self) -> CmSettings
fn clone(&self) -> CmSettings
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 CmSettings
impl Debug for CmSettings
Source§impl<'de> Deserialize<'de> for CmSettings
impl<'de> Deserialize<'de> for CmSettings
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 CmSettings
impl RefUnwindSafe for CmSettings
impl Send for CmSettings
impl Sync for CmSettings
impl Unpin for CmSettings
impl UnwindSafe for CmSettings
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