pub struct AlteredShareGroupOffsetsPartition {
pub partition_index: i32,
pub error_code: i16,
pub error_message: Option<String>,
}Expand description
One partition in an altered share-group offsets topic.
Fields§
§partition_index: i32Partition index.
error_code: i16Kafka error code (0 is success).
error_message: Option<String>Broker error message, when present.
Implementations§
Sourcepub fn partition_index(&self) -> i32
pub fn partition_index(&self) -> i32
Partition index.
Sourcepub fn error_code(&self) -> i16
pub fn error_code(&self) -> i16
Kafka error code (0 is success).
Sourcepub fn error_message(&self) -> Option<&str>
pub fn error_message(&self) -> Option<&str>
Broker error message, when present.
Trait Implementations§
Source§fn clone(&self) -> AlteredShareGroupOffsetsPartition
fn clone(&self) -> AlteredShareGroupOffsetsPartition
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 moreAuto Trait Implementations§
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