pub struct BrokerMetadata {
pub node_id: i32,
pub host: String,
pub port: i32,
pub rack: Option<String>,
}Fields§
§node_id: i32§host: String§port: i32§rack: Option<String>Trait Implementations§
Source§impl Clone for BrokerMetadata
impl Clone for BrokerMetadata
Source§fn clone(&self) -> BrokerMetadata
fn clone(&self) -> BrokerMetadata
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 BrokerMetadata
impl Debug for BrokerMetadata
impl Eq for BrokerMetadata
Source§impl PartialEq for BrokerMetadata
impl PartialEq for BrokerMetadata
impl StructuralPartialEq for BrokerMetadata
Auto Trait Implementations§
impl Freeze for BrokerMetadata
impl RefUnwindSafe for BrokerMetadata
impl Send for BrokerMetadata
impl Sync for BrokerMetadata
impl Unpin for BrokerMetadata
impl UnsafeUnpin for BrokerMetadata
impl UnwindSafe for BrokerMetadata
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