pub struct DescribeClusterResponse {
pub throttle_time_ms: i32,
pub error_code: i16,
pub error_message: Option<String>,
pub endpoint_type: i8,
pub cluster_id: String,
pub controller_id: i32,
pub brokers: Vec<DescribeClusterBroker>,
pub cluster_authorized_operations: i32,
pub _unknown_tagged_fields: Vec<RawTaggedField>,
}Expand description
DescribeClusterResponse, version 2.
Fields§
§throttle_time_ms: i32The duration in milliseconds for which the request was throttled due to a quota violation, or zero if the request did not violate any quota.
error_code: i16The top-level error code, or 0 if there was no error.
error_message: Option<String>The top-level error message, or null if there was no error.
endpoint_type: i8The endpoint type that was described. 1=brokers, 2=controllers.
cluster_id: StringThe cluster ID that responding broker belongs to.
controller_id: i32The ID of the controller broker.
brokers: Vec<DescribeClusterBroker>Each broker in the response.
32-bit bitfield to represent authorized operations for this cluster.
_unknown_tagged_fields: Vec<RawTaggedField>Unknown tagged fields.
Implementations§
Trait Implementations§
Source§impl ApiMessage for DescribeClusterResponse
impl ApiMessage for DescribeClusterResponse
Source§impl Clone for DescribeClusterResponse
impl Clone for DescribeClusterResponse
Source§fn clone(&self) -> DescribeClusterResponse
fn clone(&self) -> DescribeClusterResponse
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 DescribeClusterResponse
impl Debug for DescribeClusterResponse
Source§impl Default for DescribeClusterResponse
impl Default for DescribeClusterResponse
Source§impl<'de> Deserialize<'de> for DescribeClusterResponse
impl<'de> Deserialize<'de> for DescribeClusterResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DescribeClusterResponse
impl PartialEq for DescribeClusterResponse
Source§impl Readable for DescribeClusterResponse
impl Readable for DescribeClusterResponse
Source§impl Serialize for DescribeClusterResponse
impl Serialize for DescribeClusterResponse
Source§impl Writable for DescribeClusterResponse
impl Writable for DescribeClusterResponse
impl Response for DescribeClusterResponse
impl StructuralPartialEq for DescribeClusterResponse
Auto Trait Implementations§
impl Freeze for DescribeClusterResponse
impl RefUnwindSafe for DescribeClusterResponse
impl Send for DescribeClusterResponse
impl Sync for DescribeClusterResponse
impl Unpin for DescribeClusterResponse
impl UnwindSafe for DescribeClusterResponse
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