#[non_exhaustive]pub struct RebalanceConfig {
pub mode: Mode,
/* private fields */
}Expand description
Defines rebalancing behavior of a Kafka 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.mode: ModeOptional. The rebalance behavior for the cluster.
When not specified, defaults to NO_REBALANCE.
Implementations§
Trait Implementations§
Source§impl Clone for RebalanceConfig
impl Clone for RebalanceConfig
Source§fn clone(&self) -> RebalanceConfig
fn clone(&self) -> RebalanceConfig
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 RebalanceConfig
impl Debug for RebalanceConfig
Source§impl Default for RebalanceConfig
impl Default for RebalanceConfig
Source§fn default() -> RebalanceConfig
fn default() -> RebalanceConfig
Returns the “default value” for a type. Read more
Source§impl Message for RebalanceConfig
impl Message for RebalanceConfig
Source§impl PartialEq for RebalanceConfig
impl PartialEq for RebalanceConfig
impl StructuralPartialEq for RebalanceConfig
Auto Trait Implementations§
impl Freeze for RebalanceConfig
impl RefUnwindSafe for RebalanceConfig
impl Send for RebalanceConfig
impl Sync for RebalanceConfig
impl Unpin for RebalanceConfig
impl UnwindSafe for RebalanceConfig
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