pub struct ClusterBootstrap {
pub name: String,
pub dns_suffixes: Option<Vec<String>>,
pub rack_aware: Option<bool>,
}
Expand description
Cluster bootstrap configuration
Fields§
§name: String
Cluster name for identification
dns_suffixes: Option<Vec<String>>
DNS suffixes for cluster FQDN resolution
rack_aware: Option<bool>
Enable rack-aware placement for high availability
Trait Implementations§
Source§impl Clone for ClusterBootstrap
impl Clone for ClusterBootstrap
Source§fn clone(&self) -> ClusterBootstrap
fn clone(&self) -> ClusterBootstrap
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 ClusterBootstrap
impl Debug for ClusterBootstrap
Source§impl<'de> Deserialize<'de> for ClusterBootstrap
impl<'de> Deserialize<'de> for ClusterBootstrap
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 ClusterBootstrap
impl RefUnwindSafe for ClusterBootstrap
impl Send for ClusterBootstrap
impl Sync for ClusterBootstrap
impl Unpin for ClusterBootstrap
impl UnwindSafe for ClusterBootstrap
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