pub struct LeaderAndIsrResponsePartition {
pub topic_name: String,
pub partition_index: i32,
pub error_code: ErrorCode,
}
Fields§
§topic_name: String
The topic name.
partition_index: i32
The partition index.
error_code: ErrorCode
The partition error code, or 0 if there was no error.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LeaderAndIsrResponsePartition
impl<'de> Deserialize<'de> for LeaderAndIsrResponsePartition
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
Auto Trait Implementations§
impl Freeze for LeaderAndIsrResponsePartition
impl RefUnwindSafe for LeaderAndIsrResponsePartition
impl Send for LeaderAndIsrResponsePartition
impl Sync for LeaderAndIsrResponsePartition
impl Unpin for LeaderAndIsrResponsePartition
impl UnwindSafe for LeaderAndIsrResponsePartition
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