pub struct DeleteTopicState {
pub name: Option<KafkaString>,
pub topic_id: KafkaUuid,
pub _unknown_tagged_fields: Vec<RawTaggedField>,
}Fields§
§name: Option<KafkaString>The topic name.
topic_id: KafkaUuidThe unique topic ID.
_unknown_tagged_fields: Vec<RawTaggedField>Implementations§
Source§impl DeleteTopicState
impl DeleteTopicState
pub fn with_name(self, value: Option<KafkaString>) -> Self
pub fn with_topic_id(self, value: KafkaUuid) -> 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 DeleteTopicState
impl Clone for DeleteTopicState
Source§fn clone(&self) -> DeleteTopicState
fn clone(&self) -> DeleteTopicState
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 DeleteTopicState
impl Debug for DeleteTopicState
Source§impl Default for DeleteTopicState
impl Default for DeleteTopicState
Source§impl PartialEq for DeleteTopicState
impl PartialEq for DeleteTopicState
Source§fn eq(&self, other: &DeleteTopicState) -> bool
fn eq(&self, other: &DeleteTopicState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeleteTopicState
Auto Trait Implementations§
impl !Freeze for DeleteTopicState
impl RefUnwindSafe for DeleteTopicState
impl Send for DeleteTopicState
impl Sync for DeleteTopicState
impl Unpin for DeleteTopicState
impl UnsafeUnpin for DeleteTopicState
impl UnwindSafe for DeleteTopicState
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