pub struct ReplicationFactor(/* private fields */);Expand description
A replication factor count.
Implementations§
Trait Implementations§
Source§impl Clone for ReplicationFactor
impl Clone for ReplicationFactor
Source§fn clone(&self) -> ReplicationFactor
fn clone(&self) -> ReplicationFactor
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 ReplicationFactor
impl Debug for ReplicationFactor
Source§impl Default for ReplicationFactor
impl Default for ReplicationFactor
Source§fn default() -> ReplicationFactor
fn default() -> ReplicationFactor
Returns the “default value” for a type. Read more
Source§impl Display for ReplicationFactor
impl Display for ReplicationFactor
Source§impl Hash for ReplicationFactor
impl Hash for ReplicationFactor
Source§impl Ord for ReplicationFactor
impl Ord for ReplicationFactor
Source§fn cmp(&self, other: &ReplicationFactor) -> Ordering
fn cmp(&self, other: &ReplicationFactor) -> Ordering
1.21.0 (const: unstable) · 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 ReplicationFactor
impl PartialEq for ReplicationFactor
Source§fn eq(&self, other: &ReplicationFactor) -> bool
fn eq(&self, other: &ReplicationFactor) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ReplicationFactor
impl PartialOrd for ReplicationFactor
impl Copy for ReplicationFactor
impl Eq for ReplicationFactor
impl StructuralPartialEq for ReplicationFactor
Auto Trait Implementations§
impl Freeze for ReplicationFactor
impl RefUnwindSafe for ReplicationFactor
impl Send for ReplicationFactor
impl Sync for ReplicationFactor
impl Unpin for ReplicationFactor
impl UnsafeUnpin for ReplicationFactor
impl UnwindSafe for ReplicationFactor
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