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