pub struct TopicConfigEntry {
pub key: String,
pub value: Option<String>,
}Expand description
Topic configuration entry for AlterTopicConfig
Fields§
§key: StringConfiguration key (e.g., “retention.ms”, “max.message.bytes”)
value: Option<String>Configuration value (None to reset to default)
Trait Implementations§
Source§impl Clone for TopicConfigEntry
impl Clone for TopicConfigEntry
Source§fn clone(&self) -> TopicConfigEntry
fn clone(&self) -> TopicConfigEntry
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 TopicConfigEntry
impl Debug for TopicConfigEntry
Source§impl<'de> Deserialize<'de> for TopicConfigEntry
impl<'de> Deserialize<'de> for TopicConfigEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TopicConfigEntry
impl RefUnwindSafe for TopicConfigEntry
impl Send for TopicConfigEntry
impl Sync for TopicConfigEntry
impl Unpin for TopicConfigEntry
impl UnwindSafe for TopicConfigEntry
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