#[non_exhaustive]pub struct SliceControllerConfig {
pub enabled: bool,
/* private fields */
}Expand description
Configuration for the Slice Controller.
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: boolOptional. Indicates whether Slice Controller is enabled in the cluster.
Implementations§
Trait Implementations§
Source§impl Clone for SliceControllerConfig
impl Clone for SliceControllerConfig
Source§fn clone(&self) -> SliceControllerConfig
fn clone(&self) -> SliceControllerConfig
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 SliceControllerConfig
impl Debug for SliceControllerConfig
Source§impl Default for SliceControllerConfig
impl Default for SliceControllerConfig
Source§fn default() -> SliceControllerConfig
fn default() -> SliceControllerConfig
Returns the “default value” for a type. Read more
Source§impl Message for SliceControllerConfig
impl Message for SliceControllerConfig
Source§impl PartialEq for SliceControllerConfig
impl PartialEq for SliceControllerConfig
impl StructuralPartialEq for SliceControllerConfig
Auto Trait Implementations§
impl Freeze for SliceControllerConfig
impl RefUnwindSafe for SliceControllerConfig
impl Send for SliceControllerConfig
impl Sync for SliceControllerConfig
impl Unpin for SliceControllerConfig
impl UnwindSafe for SliceControllerConfig
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