pub struct ProduceNodeEndpointV10 {
pub node_id: i32,
pub host: String,
pub port: i32,
pub rack: Option<String>,
}Expand description
A broker endpoint advertised by Produce response v10 and newer.
Fields§
§node_id: i32§host: String§port: i32§rack: Option<String>Trait Implementations§
Source§impl Clone for ProduceNodeEndpointV10
impl Clone for ProduceNodeEndpointV10
Source§fn clone(&self) -> ProduceNodeEndpointV10
fn clone(&self) -> ProduceNodeEndpointV10
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 ProduceNodeEndpointV10
impl Debug for ProduceNodeEndpointV10
impl Eq for ProduceNodeEndpointV10
Source§impl PartialEq for ProduceNodeEndpointV10
impl PartialEq for ProduceNodeEndpointV10
impl StructuralPartialEq for ProduceNodeEndpointV10
Auto Trait Implementations§
impl Freeze for ProduceNodeEndpointV10
impl RefUnwindSafe for ProduceNodeEndpointV10
impl Send for ProduceNodeEndpointV10
impl Sync for ProduceNodeEndpointV10
impl Unpin for ProduceNodeEndpointV10
impl UnsafeUnpin for ProduceNodeEndpointV10
impl UnwindSafe for ProduceNodeEndpointV10
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