pub struct OffsetCommitRequest {
pub group_id: GroupId,
pub generation_id: i32,
pub member_id: StrBytes,
pub group_instance_id: Option<StrBytes>,
pub retention_time_ms: i64,
pub topics: Vec<OffsetCommitRequestTopic>,
pub unknown_tagged_fields: BTreeMap<i32, Vec<u8>>,
}
Expand description
Valid versions: 0-8
Fields
group_id: GroupId
The unique group identifier.
Supported API versions: 0-8
generation_id: i32
The generation of the group.
Supported API versions: 1-8
member_id: StrBytes
The member ID assigned by the group coordinator.
Supported API versions: 1-8
group_instance_id: Option<StrBytes>
The unique identifier of the consumer instance provided by end user.
Supported API versions: 7-8
retention_time_ms: i64
The time period in ms to retain the offset.
Supported API versions: 2-4
topics: Vec<OffsetCommitRequestTopic>
The topics to commit offsets for.
Supported API versions: 0-8
unknown_tagged_fields: BTreeMap<i32, Vec<u8>>
Other tagged fields
Trait Implementations
sourceimpl Clone for OffsetCommitRequest
impl Clone for OffsetCommitRequest
sourcefn clone(&self) -> OffsetCommitRequest
fn clone(&self) -> OffsetCommitRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for OffsetCommitRequest
impl Debug for OffsetCommitRequest
sourceimpl Decodable for OffsetCommitRequest
impl Decodable for OffsetCommitRequest
sourceimpl Default for OffsetCommitRequest
impl Default for OffsetCommitRequest
sourceimpl Encodable for OffsetCommitRequest
impl Encodable for OffsetCommitRequest
sourcefn encode<B: ByteBufMut>(
&self,
buf: &mut B,
version: i16
) -> Result<(), EncodeError>
fn encode<B: ByteBufMut>(
&self,
buf: &mut B,
version: i16
) -> Result<(), EncodeError>
Encode the message into the target buffer.
sourcefn compute_size(&self, version: i16) -> Result<usize, EncodeError>
fn compute_size(&self, version: i16) -> Result<usize, EncodeError>
Compute the total size of the message when encoded.
sourceimpl HeaderVersion for OffsetCommitRequest
impl HeaderVersion for OffsetCommitRequest
sourcefn header_version(version: i16) -> i16
fn header_version(version: i16) -> i16
Maps a header version to a given version for a particular API message.
sourceimpl Message for OffsetCommitRequest
impl Message for OffsetCommitRequest
sourceconst VERSIONS: VersionRange
const VERSIONS: VersionRange
The valid versions for this message.
sourceimpl PartialEq<OffsetCommitRequest> for OffsetCommitRequest
impl PartialEq<OffsetCommitRequest> for OffsetCommitRequest
sourcefn eq(&self, other: &OffsetCommitRequest) -> bool
fn eq(&self, other: &OffsetCommitRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &OffsetCommitRequest) -> bool
fn ne(&self, other: &OffsetCommitRequest) -> bool
This method tests for !=
.
sourceimpl Request for OffsetCommitRequest
impl Request for OffsetCommitRequest
type Response = OffsetCommitResponse
type Response = OffsetCommitResponse
The response associated with this request.
impl StructuralPartialEq for OffsetCommitRequest
Auto Trait Implementations
impl RefUnwindSafe for OffsetCommitRequest
impl Send for OffsetCommitRequest
impl Sync for OffsetCommitRequest
impl Unpin for OffsetCommitRequest
impl UnwindSafe for OffsetCommitRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more