Struct kafka_api::find_coordinator_response::Coordinator
source · pub struct Coordinator {
pub key: String,
pub node_id: i32,
pub host: String,
pub port: i32,
pub error_code: i16,
pub error_message: Option<String>,
pub unknown_tagged_fields: Vec<RawTaggedField>,
}Fields§
§key: StringThe coordinator key.
node_id: i32The node id.
host: StringThe host name.
port: i32The port.
error_code: i16The error code, or 0 if there was no error.
error_message: Option<String>The error message, or null if there was no error.
unknown_tagged_fields: Vec<RawTaggedField>Unknown tagged fields.
Trait Implementations§
source§impl Clone for Coordinator
impl Clone for Coordinator
source§fn clone(&self) -> Coordinator
fn clone(&self) -> Coordinator
Returns a copy of the value. Read more
1.0.0 · 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 Coordinator
impl Debug for Coordinator
source§impl Default for Coordinator
impl Default for Coordinator
source§fn default() -> Coordinator
fn default() -> Coordinator
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for Coordinator
impl Send for Coordinator
impl Sync for Coordinator
impl Unpin for Coordinator
impl UnwindSafe for Coordinator
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