pub struct KfLeaderAndIsrRequest {
pub controller_id: i32,
pub controller_epoch: i32,
pub broker_epoch: i64,
pub topic_states: Vec<LeaderAndIsrRequestTopicState>,
pub partition_states_v0: Vec<LeaderAndIsrRequestPartitionStateV0>,
pub live_leaders: Vec<LeaderAndIsrLiveLeader>,
}
Fields§
§controller_id: i32
The current controller ID.
controller_epoch: i32
The current controller epoch.
broker_epoch: i64
The current broker epoch.
topic_states: Vec<LeaderAndIsrRequestTopicState>
Each topic.
partition_states_v0: Vec<LeaderAndIsrRequestPartitionStateV0>
The state of each partition
live_leaders: Vec<LeaderAndIsrLiveLeader>
The current live leaders.
Trait Implementations§
Source§impl Debug for KfLeaderAndIsrRequest
impl Debug for KfLeaderAndIsrRequest
Source§impl Decoder for KfLeaderAndIsrRequest
impl Decoder for KfLeaderAndIsrRequest
Source§impl Default for KfLeaderAndIsrRequest
impl Default for KfLeaderAndIsrRequest
Source§impl<'de> Deserialize<'de> for KfLeaderAndIsrRequest
impl<'de> Deserialize<'de> for KfLeaderAndIsrRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Encoder for KfLeaderAndIsrRequest
impl Encoder for KfLeaderAndIsrRequest
Source§impl Request for KfLeaderAndIsrRequest
impl Request for KfLeaderAndIsrRequest
const API_KEY: u16 = 4u16
const MIN_API_VERSION: i16 = 0i16
const MAX_API_VERSION: i16 = 2i16
const DEFAULT_API_VERSION: i16 = 2i16
type Response = KfLeaderAndIsrResponse
Auto Trait Implementations§
impl Freeze for KfLeaderAndIsrRequest
impl RefUnwindSafe for KfLeaderAndIsrRequest
impl Send for KfLeaderAndIsrRequest
impl Sync for KfLeaderAndIsrRequest
impl Unpin for KfLeaderAndIsrRequest
impl UnwindSafe for KfLeaderAndIsrRequest
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