pub struct ReplicaKey {
    pub topic: String,
    pub partition: i32,
}Fields§
§topic: String§partition: i32Implementations§
Trait Implementations§
Source§impl Clone for ReplicaKey
 
impl Clone for ReplicaKey
Source§fn clone(&self) -> ReplicaKey
 
fn clone(&self) -> ReplicaKey
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 ReplicaKey
 
impl Debug for ReplicaKey
Source§impl Decoder for ReplicaKey
 
impl Decoder for ReplicaKey
Source§impl Default for ReplicaKey
 
impl Default for ReplicaKey
Source§fn default() -> ReplicaKey
 
fn default() -> ReplicaKey
Returns the “default value” for a type. Read more
Source§impl Display for ReplicaKey
 
impl Display for ReplicaKey
Source§impl Encoder for ReplicaKey
 
impl Encoder for ReplicaKey
Source§impl<S> From<(S, i32)> for ReplicaKey
 
impl<S> From<(S, i32)> for ReplicaKey
Source§fn from(key: (S, i32)) -> ReplicaKey
 
fn from(key: (S, i32)) -> ReplicaKey
Converts to this type from the input type.
Source§impl Hash for ReplicaKey
 
impl Hash for ReplicaKey
Source§impl Ord for ReplicaKey
 
impl Ord for ReplicaKey
Source§fn cmp(&self, other: &ReplicaKey) -> Ordering
 
fn cmp(&self, other: &ReplicaKey) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
    Self: Sized,
 
fn max(self, other: Self) -> Selfwhere
    Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ReplicaKey
 
impl PartialEq for ReplicaKey
Source§impl PartialOrd for ReplicaKey
 
impl PartialOrd for ReplicaKey
Source§impl TryFrom<String> for ReplicaKey
 
impl TryFrom<String> for ReplicaKey
Source§type Error = PartitionError
 
type Error = PartitionError
The type returned in the event of a conversion error.
impl Eq for ReplicaKey
impl Send for ReplicaKey
impl StructuralPartialEq for ReplicaKey
impl Sync for ReplicaKey
Auto Trait Implementations§
impl Freeze for ReplicaKey
impl RefUnwindSafe for ReplicaKey
impl Unpin for ReplicaKey
impl UnwindSafe for ReplicaKey
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