pub struct ForgottenTopic {
pub topic_id: KafkaUuid,
pub partitions: Vec<i32>,
pub _unknown_tagged_fields: Vec<RawTaggedField>,
}Fields§
§topic_id: KafkaUuidThe unique topic ID.
partitions: Vec<i32>The partitions indexes to forget.
_unknown_tagged_fields: Vec<RawTaggedField>Implementations§
Source§impl ForgottenTopic
impl ForgottenTopic
pub fn with_topic_id(self, value: KafkaUuid) -> Self
pub fn with_partitions(self, value: Vec<i32>) -> Self
pub fn read(buf: &mut Bytes, _version: i16) -> Result<Self>
pub fn write(&self, buf: &mut BytesMut, _version: i16) -> Result<()>
pub fn encoded_len(&self, _version: i16) -> Result<usize>
Trait Implementations§
Source§impl Clone for ForgottenTopic
impl Clone for ForgottenTopic
Source§fn clone(&self) -> ForgottenTopic
fn clone(&self) -> ForgottenTopic
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 moreSource§impl Debug for ForgottenTopic
impl Debug for ForgottenTopic
Source§impl Default for ForgottenTopic
impl Default for ForgottenTopic
Source§impl PartialEq for ForgottenTopic
impl PartialEq for ForgottenTopic
Source§fn eq(&self, other: &ForgottenTopic) -> bool
fn eq(&self, other: &ForgottenTopic) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ForgottenTopic
Auto Trait Implementations§
impl Freeze for ForgottenTopic
impl RefUnwindSafe for ForgottenTopic
impl Send for ForgottenTopic
impl Sync for ForgottenTopic
impl Unpin for ForgottenTopic
impl UnsafeUnpin for ForgottenTopic
impl UnwindSafe for ForgottenTopic
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