pub struct OffsetCommitResponsePartition {
pub partition_index: i32,
pub error_code: i16,
}Expand description
OffsetCommitResponsePartition, version 4.
Fields§
§partition_index: i32The partition index.
error_code: i16The error code, or 0 if there was no error.
Implementations§
Trait Implementations§
Source§impl Clone for OffsetCommitResponsePartition
impl Clone for OffsetCommitResponsePartition
Source§fn clone(&self) -> OffsetCommitResponsePartition
fn clone(&self) -> OffsetCommitResponsePartition
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<'de> Deserialize<'de> for OffsetCommitResponsePartition
impl<'de> Deserialize<'de> for OffsetCommitResponsePartition
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 OffsetCommitResponsePartition
impl PartialEq for OffsetCommitResponsePartition
Source§fn eq(&self, other: &OffsetCommitResponsePartition) -> bool
fn eq(&self, other: &OffsetCommitResponsePartition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OffsetCommitResponsePartition
Auto Trait Implementations§
impl Freeze for OffsetCommitResponsePartition
impl RefUnwindSafe for OffsetCommitResponsePartition
impl Send for OffsetCommitResponsePartition
impl Sync for OffsetCommitResponsePartition
impl Unpin for OffsetCommitResponsePartition
impl UnwindSafe for OffsetCommitResponsePartition
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