pub struct PartitionResponse {
pub partition_index: i32,
pub error_code: i16,
pub error_message: Option<String>,
pub active_producers: Vec<ProducerState>,
pub _unknown_tagged_fields: Vec<RawTaggedField>,
}Expand description
PartitionResponse, version 0.
Fields§
§partition_index: i32The partition index.
error_code: i16The partition error code, or 0 if there was no error.
error_message: Option<String>The partition error message, which may be null if no additional details are available.
active_producers: Vec<ProducerState>The active producers for the partition.
_unknown_tagged_fields: Vec<RawTaggedField>Unknown tagged fields.
Implementations§
Trait Implementations§
Source§impl Clone for PartitionResponse
impl Clone for PartitionResponse
Source§fn clone(&self) -> PartitionResponse
fn clone(&self) -> PartitionResponse
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 PartitionResponse
impl Debug for PartitionResponse
Source§impl Default for PartitionResponse
impl Default for PartitionResponse
Source§impl<'de> Deserialize<'de> for PartitionResponse
impl<'de> Deserialize<'de> for PartitionResponse
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 PartitionResponse
impl PartialEq for PartitionResponse
Source§impl Readable for PartitionResponse
impl Readable for PartitionResponse
Source§impl Serialize for PartitionResponse
impl Serialize for PartitionResponse
Source§impl Writable for PartitionResponse
impl Writable for PartitionResponse
impl StructuralPartialEq for PartitionResponse
Auto Trait Implementations§
impl Freeze for PartitionResponse
impl RefUnwindSafe for PartitionResponse
impl Send for PartitionResponse
impl Sync for PartitionResponse
impl Unpin for PartitionResponse
impl UnwindSafe for PartitionResponse
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