pub struct FetchResponseV12 {
pub throttle_time_ms: i32,
pub error_code: i16,
pub session_id: i32,
pub responses: Vec<FetchTopicResponseV12>,
}Expand description
Fetch response version 12 with flexible encoding and broker-selected reads.
Fields§
§throttle_time_ms: i32§error_code: i16§session_id: i32§responses: Vec<FetchTopicResponseV12>Implementations§
Source§impl FetchResponseV12
impl FetchResponseV12
pub fn decode_body(decoder: &mut Decoder<'_>) -> Result<Self>
Trait Implementations§
Source§impl Clone for FetchResponseV12
impl Clone for FetchResponseV12
Source§fn clone(&self) -> FetchResponseV12
fn clone(&self) -> FetchResponseV12
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 moreSource§impl Debug for FetchResponseV12
impl Debug for FetchResponseV12
impl Eq for FetchResponseV12
Source§impl PartialEq for FetchResponseV12
impl PartialEq for FetchResponseV12
impl StructuralPartialEq for FetchResponseV12
Auto Trait Implementations§
impl Freeze for FetchResponseV12
impl RefUnwindSafe for FetchResponseV12
impl Send for FetchResponseV12
impl Sync for FetchResponseV12
impl Unpin for FetchResponseV12
impl UnsafeUnpin for FetchResponseV12
impl UnwindSafe for FetchResponseV12
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