pub struct ElectLeadersRequestV2 {
pub correlation_id: i32,
pub client_id: Option<String>,
pub election_type: i8,
pub topics: Option<Vec<ElectLeadersTopicV0>>,
pub timeout_ms: i32,
}Fields§
§correlation_id: i32§client_id: Option<String>§election_type: i8§topics: Option<Vec<ElectLeadersTopicV0>>§timeout_ms: i32Implementations§
Trait Implementations§
Source§impl Clone for ElectLeadersRequestV2
impl Clone for ElectLeadersRequestV2
Source§fn clone(&self) -> ElectLeadersRequestV2
fn clone(&self) -> ElectLeadersRequestV2
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 moreSource§impl Debug for ElectLeadersRequestV2
impl Debug for ElectLeadersRequestV2
impl Eq for ElectLeadersRequestV2
Source§impl PartialEq for ElectLeadersRequestV2
impl PartialEq for ElectLeadersRequestV2
impl StructuralPartialEq for ElectLeadersRequestV2
Auto Trait Implementations§
impl Freeze for ElectLeadersRequestV2
impl RefUnwindSafe for ElectLeadersRequestV2
impl Send for ElectLeadersRequestV2
impl Sync for ElectLeadersRequestV2
impl Unpin for ElectLeadersRequestV2
impl UnsafeUnpin for ElectLeadersRequestV2
impl UnwindSafe for ElectLeadersRequestV2
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