pub struct ShareFetchPartitionResponseV1 {
pub partition_index: i32,
pub error_code: i16,
pub error_message: Option<String>,
pub acknowledgement_error_code: i16,
pub acknowledgement_error_message: Option<String>,
pub current_leader: ShareLeaderIdAndEpochV1,
pub records: Option<Vec<u8>>,
pub acquired_records: Vec<ShareAcquiredRecordsV1>,
}Expand description
One partition returned by ShareFetch.
Fields§
§partition_index: i32§error_code: i16§error_message: Option<String>§acknowledgement_error_code: i16§acknowledgement_error_message: Option<String>§current_leader: ShareLeaderIdAndEpochV1§records: Option<Vec<u8>>Raw Kafka record bytes. The value is nullable when no records were fetched.
acquired_records: Vec<ShareAcquiredRecordsV1>Trait Implementations§
Source§fn clone(&self) -> ShareFetchPartitionResponseV1
fn clone(&self) -> ShareFetchPartitionResponseV1
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