pub struct TopicConfig {
pub num_partitions: i32,
pub replication_factor: i16,
pub retention_ms: i64,
pub max_message_bytes: i32,
}Fields§
§num_partitions: i32§replication_factor: i16§retention_ms: i64§max_message_bytes: i32Trait Implementations§
Source§impl Clone for TopicConfig
impl Clone for TopicConfig
Source§fn clone(&self) -> TopicConfig
fn clone(&self) -> TopicConfig
Returns a duplicate 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 TopicConfig
impl Debug for TopicConfig
Auto Trait Implementations§
impl Freeze for TopicConfig
impl RefUnwindSafe for TopicConfig
impl Send for TopicConfig
impl Sync for TopicConfig
impl Unpin for TopicConfig
impl UnwindSafe for TopicConfig
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