pub struct BootstrapConfig {
pub action: String,
pub cluster: Option<ClusterBootstrap>,
pub node: Option<NodeBootstrap>,
pub credentials: Option<CredentialsBootstrap>,
pub extra: Value,
}
Expand description
Bootstrap configuration for cluster initialization
Fields§
§action: String
Action to perform (e.g., ‘create’, ‘join’, ‘recover_cluster’)
cluster: Option<ClusterBootstrap>
Cluster configuration for initialization
node: Option<NodeBootstrap>
Node configuration for bootstrap
credentials: Option<CredentialsBootstrap>
Admin credentials for cluster access
extra: Value
Trait Implementations§
Source§impl Clone for BootstrapConfig
impl Clone for BootstrapConfig
Source§fn clone(&self) -> BootstrapConfig
fn clone(&self) -> BootstrapConfig
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 BootstrapConfig
impl Debug for BootstrapConfig
Source§impl<'de> Deserialize<'de> for BootstrapConfig
impl<'de> Deserialize<'de> for BootstrapConfig
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 BootstrapConfig
impl RefUnwindSafe for BootstrapConfig
impl Send for BootstrapConfig
impl Sync for BootstrapConfig
impl Unpin for BootstrapConfig
impl UnwindSafe for BootstrapConfig
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