Struct kafka_protocol::messages::ProducerId
source · [−]pub struct ProducerId(pub i64);
Expand description
Current producer id in use by the transactional id.
Tuple Fields
0: i64
Trait Implementations
sourceimpl Borrow<i64> for ProducerId
impl Borrow<i64> for ProducerId
sourceimpl Clone for ProducerId
impl Clone for ProducerId
sourcefn clone(&self) -> ProducerId
fn clone(&self) -> ProducerId
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ProducerId
impl Debug for ProducerId
sourceimpl Default for ProducerId
impl Default for ProducerId
sourcefn default() -> ProducerId
fn default() -> ProducerId
Returns the “default value” for a type. Read more
sourceimpl Deref for ProducerId
impl Deref for ProducerId
sourceimpl From<ProducerId> for i64
impl From<ProducerId> for i64
sourcefn from(other: ProducerId) -> Self
fn from(other: ProducerId) -> Self
Performs the conversion.
sourceimpl Hash for ProducerId
impl Hash for ProducerId
sourceimpl Ord for ProducerId
impl Ord for ProducerId
sourceimpl PartialEq<ProducerId> for ProducerId
impl PartialEq<ProducerId> for ProducerId
sourcefn eq(&self, other: &ProducerId) -> bool
fn eq(&self, other: &ProducerId) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ProducerId) -> bool
fn ne(&self, other: &ProducerId) -> bool
This method tests for !=
.
sourceimpl PartialEq<ProducerId> for i64
impl PartialEq<ProducerId> for i64
sourceimpl PartialEq<i64> for ProducerId
impl PartialEq<i64> for ProducerId
sourceimpl PartialOrd<ProducerId> for ProducerId
impl PartialOrd<ProducerId> for ProducerId
sourcefn partial_cmp(&self, other: &ProducerId) -> Option<Ordering>
fn partial_cmp(&self, other: &ProducerId) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for ProducerId
impl Eq for ProducerId
impl StructuralEq for ProducerId
impl StructuralPartialEq for ProducerId
Auto Trait Implementations
impl RefUnwindSafe for ProducerId
impl Send for ProducerId
impl Sync for ProducerId
impl Unpin for ProducerId
impl UnwindSafe for ProducerId
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more