pub struct CreatePartitionsTopicResult {
pub name: KafkaString,
pub error_code: i16,
pub error_message: Option<KafkaString>,
pub _unknown_tagged_fields: Vec<RawTaggedField>,
}Fields§
§name: KafkaStringThe topic name.
error_code: i16The result error, or zero if there was no error.
error_message: Option<KafkaString>The result message, or null if there was no error.
_unknown_tagged_fields: Vec<RawTaggedField>Implementations§
Source§impl CreatePartitionsTopicResult
impl CreatePartitionsTopicResult
pub fn with_name(self, value: KafkaString) -> Self
pub fn with_error_code(self, value: i16) -> Self
pub fn with_error_message(self, value: Option<KafkaString>) -> 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 CreatePartitionsTopicResult
impl Clone for CreatePartitionsTopicResult
Source§fn clone(&self) -> CreatePartitionsTopicResult
fn clone(&self) -> CreatePartitionsTopicResult
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 CreatePartitionsTopicResult
impl Debug for CreatePartitionsTopicResult
Source§impl PartialEq for CreatePartitionsTopicResult
impl PartialEq for CreatePartitionsTopicResult
Source§fn eq(&self, other: &CreatePartitionsTopicResult) -> bool
fn eq(&self, other: &CreatePartitionsTopicResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreatePartitionsTopicResult
Auto Trait Implementations§
impl !Freeze for CreatePartitionsTopicResult
impl RefUnwindSafe for CreatePartitionsTopicResult
impl Send for CreatePartitionsTopicResult
impl Sync for CreatePartitionsTopicResult
impl Unpin for CreatePartitionsTopicResult
impl UnsafeUnpin for CreatePartitionsTopicResult
impl UnwindSafe for CreatePartitionsTopicResult
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