Struct samsa::prelude::protocol::OffsetFetchRequest
source · pub struct OffsetFetchRequest<'a> {
pub header: HeaderRequest<'a>,
pub group_id: &'a str,
pub topics: Vec<Topic<'a>>,
}
Expand description
The base Offset Fetch request object.
§Example
let mut offset_request = protocol::OffsetFetchRequest::new(correlation_id, client_id, group_id);
coordinator_conn.send_request(&offset_request).await?;
Fields§
§header: HeaderRequest<'a>
§group_id: &'a str
The group to fetch offsets for.
topics: Vec<Topic<'a>>
Each topic we would like to fetch offsets for, or null to fetch offsets for all topics.
Implementations§
Trait Implementations§
source§impl<'a> Debug for OffsetFetchRequest<'a>
impl<'a> Debug for OffsetFetchRequest<'a>
Auto Trait Implementations§
impl<'a> Freeze for OffsetFetchRequest<'a>
impl<'a> RefUnwindSafe for OffsetFetchRequest<'a>
impl<'a> Send for OffsetFetchRequest<'a>
impl<'a> Sync for OffsetFetchRequest<'a>
impl<'a> Unpin for OffsetFetchRequest<'a>
impl<'a> UnwindSafe for OffsetFetchRequest<'a>
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