pub struct VoterReconfigurationPlan {
pub next_voter_count: usize,
pub next_kraft_version: u16,
pub write_voters: bool,
pub write_kraft_version: bool,
pub preflight_only: bool,
}Expand description
The exact control-record shape of an admitted change.
Fields§
§next_voter_count: usize§next_kraft_version: u16§write_voters: bool§write_kraft_version: bool§preflight_only: boolTrait Implementations§
Source§impl Clone for VoterReconfigurationPlan
impl Clone for VoterReconfigurationPlan
Source§fn clone(&self) -> VoterReconfigurationPlan
fn clone(&self) -> VoterReconfigurationPlan
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VoterReconfigurationPlan
Source§impl Debug for VoterReconfigurationPlan
impl Debug for VoterReconfigurationPlan
impl Eq for VoterReconfigurationPlan
Source§impl PartialEq for VoterReconfigurationPlan
impl PartialEq for VoterReconfigurationPlan
impl StructuralPartialEq for VoterReconfigurationPlan
Auto Trait Implementations§
impl Freeze for VoterReconfigurationPlan
impl RefUnwindSafe for VoterReconfigurationPlan
impl Send for VoterReconfigurationPlan
impl Sync for VoterReconfigurationPlan
impl Unpin for VoterReconfigurationPlan
impl UnsafeUnpin for VoterReconfigurationPlan
impl UnwindSafe for VoterReconfigurationPlan
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