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>§
pub const MIN: i32 = -2_147_483_648i32
pub const MAX: i32 = 2_147_483_647i32
pub const BITS: u32 = 32u32
Trait Implementations§
source§impl Ord for BrokerId
impl Ord for BrokerId
source§impl PartialEq<BrokerId> for i32
impl PartialEq<BrokerId> for i32
source§impl PartialEq for BrokerId
impl PartialEq for BrokerId
source§impl PartialOrd for BrokerId
impl PartialOrd 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<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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.