pub struct CreatableTopicResult {
pub name: String,
pub topic_id: Uuid,
pub error_code: i16,
pub error_message: Option<String>,
pub topic_config_error_code: i16,
pub num_partitions: i32,
pub replication_factor: i16,
pub configs: Vec<CreatableTopicConfigs>,
pub unknown_tagged_fields: Vec<RawTaggedField>,
}
Fields§
§name: String
The topic name.
topic_id: Uuid
The unique topic ID
error_code: i16
The error code, or 0 if there was no error.
error_message: Option<String>
The error message, or null if there was no error.
topic_config_error_code: i16
Optional topic config error returned if configs are not returned in the response.
num_partitions: i32
Number of partitions of the topic.
replication_factor: i16
Replication factor of the topic.
configs: Vec<CreatableTopicConfigs>
Configuration of the topic.
unknown_tagged_fields: Vec<RawTaggedField>
Unknown tagged fields.
Trait Implementations§
Source§impl Clone for CreatableTopicResult
impl Clone for CreatableTopicResult
Source§fn clone(&self) -> CreatableTopicResult
fn clone(&self) -> CreatableTopicResult
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 CreatableTopicResult
impl Debug for CreatableTopicResult
Source§impl Default for CreatableTopicResult
impl Default for CreatableTopicResult
Source§fn default() -> CreatableTopicResult
fn default() -> CreatableTopicResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CreatableTopicResult
impl RefUnwindSafe for CreatableTopicResult
impl Send for CreatableTopicResult
impl Sync for CreatableTopicResult
impl Unpin for CreatableTopicResult
impl UnwindSafe for CreatableTopicResult
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