pub struct DescribeClusterResponse {
pub api_version: i16,
pub throttle_time_ms: i32,
pub error_code: i16,
pub error_message: Option<String>,
pub endpoint_type: Option<i8>,
pub cluster_id: String,
pub controller_id: i32,
pub brokers: Vec<DescribeClusterBroker>,
pub cluster_authorized_operations: i32,
}Expand description
Kafka DescribeCluster response for versions 0 and 1.
Fields§
§api_version: i16§throttle_time_ms: i32§error_code: i16§error_message: Option<String>§endpoint_type: Option<i8>§cluster_id: String§controller_id: i32§brokers: Vec<DescribeClusterBroker>Implementations§
Source§impl DescribeClusterResponse
impl DescribeClusterResponse
Sourcepub fn decode_body(decoder: &mut Decoder<'_>, api_version: i16) -> Result<Self>
pub fn decode_body(decoder: &mut Decoder<'_>, api_version: i16) -> Result<Self>
Decodes a flexible response body for the selected version.
Trait Implementations§
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 (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 DescribeClusterResponse
impl Debug for DescribeClusterResponse
impl Eq for DescribeClusterResponse
Source§impl PartialEq for DescribeClusterResponse
impl PartialEq 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 UnsafeUnpin 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