Struct kafka_protocol::messages::BrokerId
source · pub struct BrokerId(pub i32);Expand description
The ID of the requesting broker
Tuple Fields§
§0: i32Methods from Deref<Target = i32>§
Trait Implementations§
source§impl Ord for BrokerId
impl Ord for BrokerId
source§impl PartialEq<BrokerId> for BrokerId
impl PartialEq<BrokerId> for BrokerId
source§impl PartialEq<BrokerId> for i32
impl PartialEq<BrokerId> for i32
source§impl PartialOrd<BrokerId> for BrokerId
impl PartialOrd<BrokerId> for BrokerId
1.0.0 · source§fn 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 moreimpl Copy for BrokerId
impl Eq for BrokerId
impl StructuralEq for BrokerId
impl StructuralPartialEq for BrokerId
Auto Trait Implementations§
impl RefUnwindSafe for BrokerId
impl Send for BrokerId
impl Sync for BrokerId
impl Unpin for BrokerId
impl UnwindSafe for BrokerId
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.