pub struct CreateTopicResponse {
pub name: String_,
pub error: Option<Error>,
pub error_message: Option<NullableString>,
pub num_partitions: Option<Int32>,
pub replication_factor: Option<Int16>,
pub configs: Vec<CreateTopicResponseConfig>,
pub tagged_fields: Option<TaggedFields>,
}Fields§
§name: String_The topic name.
error: Option<Error>The error code, or 0 if there was no error.
error_message: Option<NullableString>The error message
Added in version 1
num_partitions: Option<Int32>Number of partitions of the topic.
Added in version 5
replication_factor: Option<Int16>Replication factor of the topic.
Added in version 5.
configs: Vec<CreateTopicResponseConfig>Configuration of the topic.
Added in version 5
tagged_fields: Option<TaggedFields>The tagged fields.
Added in version 5
Trait Implementations§
Source§impl Debug for CreateTopicResponse
impl Debug for CreateTopicResponse
Source§impl<R> ReadVersionedType<R> for CreateTopicResponsewhere
R: Read,
impl<R> ReadVersionedType<R> for CreateTopicResponsewhere
R: Read,
fn read_versioned( reader: &mut R, version: ApiVersion, ) -> Result<Self, ReadVersionedError>
Auto Trait Implementations§
impl Freeze for CreateTopicResponse
impl RefUnwindSafe for CreateTopicResponse
impl Send for CreateTopicResponse
impl Sync for CreateTopicResponse
impl Unpin for CreateTopicResponse
impl UnwindSafe for CreateTopicResponse
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