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 Freeze for ReplicaState
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