pub struct FetchRequestV11 {
pub correlation_id: i32,
pub client_id: Option<String>,
pub replica_id: i32,
pub max_wait_ms: i32,
pub min_bytes: i32,
pub max_bytes: i32,
pub isolation_level: i8,
pub session_id: i32,
pub session_epoch: i32,
pub topics: Vec<FetchTopicV11>,
pub forgotten_topics: Vec<FetchForgottenTopicV11>,
pub rack_id: String,
}Expand description
Fetch request version 11 with rack-aware read selection.
Version 11 keeps the non-flexible wire format used by the existing direct consumer while adding fetch-session fields and the consumer rack ID.
Fields§
§correlation_id: i32§client_id: Option<String>§replica_id: i32§max_wait_ms: i32§min_bytes: i32§max_bytes: i32§isolation_level: i8§session_id: i32§session_epoch: i32§topics: Vec<FetchTopicV11>§forgotten_topics: Vec<FetchForgottenTopicV11>§rack_id: StringImplementations§
Trait Implementations§
Source§impl Clone for FetchRequestV11
impl Clone for FetchRequestV11
Source§fn clone(&self) -> FetchRequestV11
fn clone(&self) -> FetchRequestV11
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 FetchRequestV11
impl Debug for FetchRequestV11
impl Eq for FetchRequestV11
Source§impl PartialEq for FetchRequestV11
impl PartialEq for FetchRequestV11
impl StructuralPartialEq for FetchRequestV11
Auto Trait Implementations§
impl Freeze for FetchRequestV11
impl RefUnwindSafe for FetchRequestV11
impl Send for FetchRequestV11
impl Sync for FetchRequestV11
impl Unpin for FetchRequestV11
impl UnsafeUnpin for FetchRequestV11
impl UnwindSafe for FetchRequestV11
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