pub struct ProducerId(pub i64);Expand description
The first producer ID in this range, inclusive
Tuple Fields§
§0: i64Trait Implementations§
Source§impl Borrow<i64> for ProducerId
 
impl Borrow<i64> for ProducerId
Source§impl Clone for ProducerId
 
impl Clone for ProducerId
Source§fn clone(&self) -> ProducerId
 
fn clone(&self) -> ProducerId
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 ProducerId
 
impl Debug for ProducerId
Source§impl Default for ProducerId
 
impl Default for ProducerId
Source§fn default() -> ProducerId
 
fn default() -> ProducerId
Returns the “default value” for a type. Read more
Source§impl Deref for ProducerId
 
impl Deref for ProducerId
Source§impl From<ProducerId> for i64
 
impl From<ProducerId> for i64
Source§fn from(other: ProducerId) -> Self
 
fn from(other: ProducerId) -> Self
Converts to this type from the input type.
Source§impl From<i64> for ProducerId
 
impl From<i64> for ProducerId
Source§impl Hash for ProducerId
 
impl Hash for ProducerId
Source§impl Ord for ProducerId
 
impl Ord for ProducerId
Source§fn cmp(&self, other: &ProducerId) -> Ordering
 
fn cmp(&self, other: &ProducerId) -> 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<ProducerId> for i64
 
impl PartialEq<ProducerId> for i64
Source§impl PartialEq<i64> for ProducerId
 
impl PartialEq<i64> for ProducerId
Source§impl PartialEq for ProducerId
 
impl PartialEq for ProducerId
Source§impl PartialOrd for ProducerId
 
impl PartialOrd for ProducerId
impl Copy for ProducerId
impl Eq for ProducerId
impl StructuralPartialEq for ProducerId
Auto Trait Implementations§
impl Freeze for ProducerId
impl RefUnwindSafe for ProducerId
impl Send for ProducerId
impl Sync for ProducerId
impl Unpin for ProducerId
impl UnwindSafe for ProducerId
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
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
Source§impl<Q, K> Comparable<K> for Q
 
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.