pub struct ClusterDescription {
pub cluster_id: String,
pub controller_id: i32,
pub brokers: Vec<BrokerDescription>,
}Expand description
Cluster metadata returned by KafkaAdmin::describe_cluster.
Fields§
§cluster_id: StringKafka cluster ID.
controller_id: i32Broker ID of the active controller.
brokers: Vec<BrokerDescription>Brokers known to the cluster, sorted by broker ID.
Trait Implementations§
Source§impl Clone for ClusterDescription
impl Clone for ClusterDescription
Source§fn clone(&self) -> ClusterDescription
fn clone(&self) -> ClusterDescription
Returns a duplicate 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 ClusterDescription
impl Debug for ClusterDescription
Source§impl PartialEq for ClusterDescription
impl PartialEq for ClusterDescription
impl Eq for ClusterDescription
impl StructuralPartialEq for ClusterDescription
Auto Trait Implementations§
impl Freeze for ClusterDescription
impl RefUnwindSafe for ClusterDescription
impl Send for ClusterDescription
impl Sync for ClusterDescription
impl Unpin for ClusterDescription
impl UnsafeUnpin for ClusterDescription
impl UnwindSafe for ClusterDescription
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.