pub struct FetchGroupOffset<'a> {
pub topic: &'a str,
pub partition: i32,
}
Expand description
Data point identifying a topic partition to fetch a group’s offset
for. See KafkaClient::fetch_group_offsets
.
Fields§
§topic: &'a str
The topic to fetch the group offset for
partition: i32
The partition to fetch the group offset for
Implementations§
Trait Implementations§
source§impl<'a> AsRef<FetchGroupOffset<'a>> for FetchGroupOffset<'a>
impl<'a> AsRef<FetchGroupOffset<'a>> for FetchGroupOffset<'a>
Auto Trait Implementations§
impl<'a> Freeze for FetchGroupOffset<'a>
impl<'a> RefUnwindSafe for FetchGroupOffset<'a>
impl<'a> Send for FetchGroupOffset<'a>
impl<'a> Sync for FetchGroupOffset<'a>
impl<'a> Unpin for FetchGroupOffset<'a>
impl<'a> UnwindSafe for FetchGroupOffset<'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