pub struct ElectLeadersRequestV1 {
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 ElectLeadersRequestV1
impl Clone for ElectLeadersRequestV1
Source§fn clone(&self) -> ElectLeadersRequestV1
fn clone(&self) -> ElectLeadersRequestV1
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 ElectLeadersRequestV1
impl Debug for ElectLeadersRequestV1
impl Eq for ElectLeadersRequestV1
Source§impl PartialEq for ElectLeadersRequestV1
impl PartialEq for ElectLeadersRequestV1
impl StructuralPartialEq for ElectLeadersRequestV1
Auto Trait Implementations§
impl Freeze for ElectLeadersRequestV1
impl RefUnwindSafe for ElectLeadersRequestV1
impl Send for ElectLeadersRequestV1
impl Sync for ElectLeadersRequestV1
impl Unpin for ElectLeadersRequestV1
impl UnsafeUnpin for ElectLeadersRequestV1
impl UnwindSafe for ElectLeadersRequestV1
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