#[non_exhaustive]pub struct IntraNodeVisibilityConfig {
pub enabled: bool,
}Expand description
IntraNodeVisibilityConfig contains the desired config of the intra-node visibility on this cluster.
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.enabled: boolEnables intra node visibility for this cluster.
Implementations§
Source§impl IntraNodeVisibilityConfig
impl IntraNodeVisibilityConfig
Sourcepub fn set_enabled<T: Into<bool>>(self, v: T) -> Self
pub fn set_enabled<T: Into<bool>>(self, v: T) -> Self
Sets the value of enabled.
Trait Implementations§
Source§impl Clone for IntraNodeVisibilityConfig
impl Clone for IntraNodeVisibilityConfig
Source§fn clone(&self) -> IntraNodeVisibilityConfig
fn clone(&self) -> IntraNodeVisibilityConfig
Returns a copy 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 IntraNodeVisibilityConfig
impl Debug for IntraNodeVisibilityConfig
Source§impl Default for IntraNodeVisibilityConfig
impl Default for IntraNodeVisibilityConfig
Source§fn default() -> IntraNodeVisibilityConfig
fn default() -> IntraNodeVisibilityConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IntraNodeVisibilityConfigwhere
IntraNodeVisibilityConfig: Default,
impl<'de> Deserialize<'de> for IntraNodeVisibilityConfigwhere
IntraNodeVisibilityConfig: Default,
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 Message for IntraNodeVisibilityConfig
impl Message for IntraNodeVisibilityConfig
impl StructuralPartialEq for IntraNodeVisibilityConfig
Auto Trait Implementations§
impl Freeze for IntraNodeVisibilityConfig
impl RefUnwindSafe for IntraNodeVisibilityConfig
impl Send for IntraNodeVisibilityConfig
impl Sync for IntraNodeVisibilityConfig
impl Unpin for IntraNodeVisibilityConfig
impl UnwindSafe for IntraNodeVisibilityConfig
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