Struct kafka_api::fetch_request::ReplicaState
source · pub struct ReplicaState {
pub replica_id: i32,
pub replica_epoch: i64,
pub unknown_tagged_fields: Vec<RawTaggedField>,
}
Fields§
§replica_id: i32
The replica ID of the follower, or -1 if this request is from a consumer.
replica_epoch: i64
The epoch of this follower, or -1 if not available.
unknown_tagged_fields: Vec<RawTaggedField>
Unknown tagged fields.
Trait Implementations§
source§impl Clone for ReplicaState
impl Clone for ReplicaState
source§fn clone(&self) -> ReplicaState
fn clone(&self) -> ReplicaState
Returns a copy 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 ReplicaState
impl Debug for ReplicaState
source§impl Decodable for ReplicaState
impl Decodable for ReplicaState
source§impl Default for ReplicaState
impl Default for ReplicaState
source§fn default() -> ReplicaState
fn default() -> ReplicaState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ReplicaState
impl Send for ReplicaState
impl Sync for ReplicaState
impl Unpin for ReplicaState
impl UnwindSafe for ReplicaState
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