pub struct FetchResponse {
pub partition: i32,
pub error_code: i16,
pub high_watermark: i64,
pub records: Vec<Record>,
}Expand description
Response for fetch requests
Fields§
§partition: i32§error_code: i16§high_watermark: i64§records: Vec<Record>Trait Implementations§
Auto Trait Implementations§
impl Freeze for FetchResponse
impl RefUnwindSafe for FetchResponse
impl Send for FetchResponse
impl Sync for FetchResponse
impl Unpin for FetchResponse
impl UnwindSafe for FetchResponse
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