pub struct ShareFetchRequest<'a> {Show 13 fields
pub group_id: Option<&'a str>,
pub member_id: Option<&'a str>,
pub share_session_epoch: i32,
pub max_wait_ms: i32,
pub min_bytes: i32,
pub max_bytes: i32,
pub max_records: i32,
pub batch_size: i32,
pub share_acquire_mode: i8,
pub is_renew_ack: bool,
pub topics: Vec<FetchTopic>,
pub forgotten_topics_data: Vec<ForgottenTopic>,
pub unknown_tagged_fields: UnknownTaggedFields,
}Fields§
§group_id: Option<&'a str>§member_id: Option<&'a str>§max_wait_ms: i32§min_bytes: i32§max_bytes: i32§max_records: i32§batch_size: i32§is_renew_ack: bool§topics: Vec<FetchTopic>§forgotten_topics_data: Vec<ForgottenTopic>§unknown_tagged_fields: UnknownTaggedFieldsImplementations§
pub fn to_owned(&self) -> ShareFetchRequest
Trait Implementations§
Source§fn clone(&self) -> ShareFetchRequest<'a>
fn clone(&self) -> ShareFetchRequest<'a>
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 morefn decode_borrow( buf: &mut &'de [u8], version: i16, ) -> Result<Self, ProtocolError>
Source§fn eq(&self, other: &ShareFetchRequest<'a>) -> bool
fn eq(&self, other: &ShareFetchRequest<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.Auto 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