pub struct ReplicaState {
pub replica_id: i32,
pub replica_epoch: i64,
pub _unknown_tagged_fields: Vec<RawTaggedField>,
}Expand description
ReplicaState, version 16.
Fields§
§replica_id: i32The replica ID of the follower, or -1 if this request is from a consumer.
replica_epoch: i64The epoch of this follower, or -1 if not available.
_unknown_tagged_fields: Vec<RawTaggedField>Unknown tagged fields.
Implementations§
Trait Implementations§
Source§impl Clone for ReplicaState
impl Clone for ReplicaState
Source§fn clone(&self) -> ReplicaState
fn clone(&self) -> ReplicaState
Returns a duplicate 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 Default for ReplicaState
impl Default for ReplicaState
Source§impl<'de> Deserialize<'de> for ReplicaState
impl<'de> Deserialize<'de> for ReplicaState
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 PartialEq for ReplicaState
impl PartialEq for ReplicaState
Source§impl Readable for ReplicaState
impl Readable for ReplicaState
Source§impl Serialize for ReplicaState
impl Serialize for ReplicaState
Source§impl Writable for ReplicaState
impl Writable for ReplicaState
impl StructuralPartialEq for ReplicaState
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