pub struct ConfigClusterSettings {
pub enable: Option<bool>,
pub inter_node_listen_address: Option<String>,
pub inter_node_urls: Option<Vec<String>>,
}
Fields§
§enable: Option<bool>
§inter_node_listen_address: Option<String>
§inter_node_urls: Option<Vec<String>>
Implementations§
Source§impl ConfigClusterSettings
impl ConfigClusterSettings
pub fn new() -> ConfigClusterSettings
Trait Implementations§
Source§impl Clone for ConfigClusterSettings
impl Clone for ConfigClusterSettings
Source§fn clone(&self) -> ConfigClusterSettings
fn clone(&self) -> ConfigClusterSettings
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ConfigClusterSettings
impl Debug for ConfigClusterSettings
Source§impl Default for ConfigClusterSettings
impl Default for ConfigClusterSettings
Source§fn default() -> ConfigClusterSettings
fn default() -> ConfigClusterSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConfigClusterSettings
impl<'de> Deserialize<'de> for ConfigClusterSettings
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
Source§impl PartialEq for ConfigClusterSettings
impl PartialEq for ConfigClusterSettings
Source§impl Serialize for ConfigClusterSettings
impl Serialize for ConfigClusterSettings
impl StructuralPartialEq for ConfigClusterSettings
Auto Trait Implementations§
impl Freeze for ConfigClusterSettings
impl RefUnwindSafe for ConfigClusterSettings
impl Send for ConfigClusterSettings
impl Sync for ConfigClusterSettings
impl Unpin for ConfigClusterSettings
impl UnwindSafe for ConfigClusterSettings
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