#[non_exhaustive]pub struct RedundancyOptions {
pub primary: Option<String>,
pub secondary: Option<String>,
pub hot_standby: bool,
pub warm_standby: bool,
pub redundancy_local_data_address: Option<String>,
pub redundancy_peer_ipaddress: Option<String>,
pub replication_threshold: Option<String>,
pub routing_instance: Option<String>,
}Expand description
The redundancy-options of a services interface.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.primary: Option<String>§secondary: Option<String>§hot_standby: bool§warm_standby: bool§redundancy_local_data_address: Option<String>From redundancy-local { data-address }.
redundancy_peer_ipaddress: Option<String>From redundancy-peer { ipaddress }.
replication_threshold: Option<String>§routing_instance: Option<String>Trait Implementations§
Source§impl Clone for RedundancyOptions
impl Clone for RedundancyOptions
Source§impl Debug for RedundancyOptions
impl Debug for RedundancyOptions
impl Eq for RedundancyOptions
Source§impl PartialEq for RedundancyOptions
impl PartialEq for RedundancyOptions
impl StructuralPartialEq for RedundancyOptions
Auto Trait Implementations§
impl Forget for RedundancyOptions
impl Freeze for RedundancyOptions
impl Move for RedundancyOptions
impl RefUnwindSafe for RedundancyOptions
impl Send for RedundancyOptionswhere
RawVecInner: Send,
impl Sync for RedundancyOptionswhere
RawVecInner: Sync,
impl Unpin for RedundancyOptions
impl UnsafeUnpin for RedundancyOptions
impl UnwindSafe for RedundancyOptionswhere
RawVecInner: UnwindSafe,
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