#[non_exhaustive]pub struct OffsetDeleteRequest {
pub group_id: GroupId,
pub topics: Vec<OffsetDeleteRequestTopic>,
}
Expand description
Valid versions: 0
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.group_id: GroupId
The unique group identifier.
Supported API versions: 0
topics: Vec<OffsetDeleteRequestTopic>
The topics to delete offsets for
Supported API versions: 0
Implementations§
Source§impl OffsetDeleteRequest
impl OffsetDeleteRequest
Sourcepub fn with_group_id(self, value: GroupId) -> Self
pub fn with_group_id(self, value: GroupId) -> Self
Sets group_id
to the passed value.
The unique group identifier.
Supported API versions: 0
Sourcepub fn with_topics(self, value: Vec<OffsetDeleteRequestTopic>) -> Self
pub fn with_topics(self, value: Vec<OffsetDeleteRequestTopic>) -> Self
Sets topics
to the passed value.
The topics to delete offsets for
Supported API versions: 0
Trait Implementations§
Source§impl Clone for OffsetDeleteRequest
impl Clone for OffsetDeleteRequest
Source§fn clone(&self) -> OffsetDeleteRequest
fn clone(&self) -> OffsetDeleteRequest
Returns a copy of the value. Read more
1.0.0 · 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 OffsetDeleteRequest
impl Debug for OffsetDeleteRequest
Source§impl Decodable for OffsetDeleteRequest
Available on crate feature broker
only.
impl Decodable for OffsetDeleteRequest
Available on crate feature
broker
only.Source§impl Default for OffsetDeleteRequest
impl Default for OffsetDeleteRequest
Source§impl Encodable for OffsetDeleteRequest
Available on crate feature client
only.
impl Encodable for OffsetDeleteRequest
Available on crate feature
client
only.Source§impl From<OffsetDeleteRequest> for RequestKind
Available on crate feature messages_enums
only.
impl From<OffsetDeleteRequest> for RequestKind
Available on crate feature
messages_enums
only.Source§fn from(value: OffsetDeleteRequest) -> RequestKind
fn from(value: OffsetDeleteRequest) -> RequestKind
Converts to this type from the input type.
Source§impl HeaderVersion for OffsetDeleteRequest
impl HeaderVersion for OffsetDeleteRequest
Source§fn header_version(version: i16) -> i16
fn header_version(version: i16) -> i16
Maps a header version to a given version for a particular API message.
Source§impl Message for OffsetDeleteRequest
impl Message for OffsetDeleteRequest
Source§const VERSIONS: VersionRange
const VERSIONS: VersionRange
The valid versions for this message.
Source§const DEPRECATED_VERSIONS: Option<VersionRange> = None
const DEPRECATED_VERSIONS: Option<VersionRange> = None
The deprecated versions for this message.
Source§impl PartialEq for OffsetDeleteRequest
impl PartialEq for OffsetDeleteRequest
Source§impl Request for OffsetDeleteRequest
Available on crate features client
and broker
only.
impl Request for OffsetDeleteRequest
Available on crate features
client
and broker
only.impl StructuralPartialEq for OffsetDeleteRequest
Auto Trait Implementations§
impl !Freeze for OffsetDeleteRequest
impl RefUnwindSafe for OffsetDeleteRequest
impl Send for OffsetDeleteRequest
impl Sync for OffsetDeleteRequest
impl Unpin for OffsetDeleteRequest
impl UnwindSafe for OffsetDeleteRequest
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