pub struct ReplicaState {
pub replica_id: i32,
pub replica_epoch: i64,
pub unknown_tagged_fields: UnknownTaggedFields,
}Fields§
§replica_id: i32§replica_epoch: i64§unknown_tagged_fields: UnknownTaggedFieldsImplementations§
Source§impl ReplicaState
impl ReplicaState
pub fn to_owned(&self) -> ReplicaState
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 (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 ReplicaState
impl Debug for ReplicaState
Source§impl<'de> DecodeBorrow<'de> for ReplicaState
impl<'de> DecodeBorrow<'de> for ReplicaState
fn decode_borrow( buf: &mut &'de [u8], version: i16, ) -> Result<Self, ProtocolError>
Source§impl Default for ReplicaState
impl Default for ReplicaState
Source§impl Encode for ReplicaState
impl Encode for ReplicaState
impl Eq for ReplicaState
Source§impl PartialEq for ReplicaState
impl PartialEq for ReplicaState
Source§fn eq(&self, other: &ReplicaState) -> bool
fn eq(&self, other: &ReplicaState) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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