pub struct TopicConfig {
pub version: String,
pub meta: MetaConfig,
pub partition: PartitionConfig,
pub retention: RetentionConfig,
pub compression: CompressionConfig,
pub deduplication: Option<Deduplication>,
}
Fields§
§version: String
§meta: MetaConfig
§partition: PartitionConfig
§retention: RetentionConfig
§compression: CompressionConfig
§deduplication: Option<Deduplication>
Implementations§
source§impl TopicConfig
impl TopicConfig
Trait Implementations§
source§impl Clone for TopicConfig
impl Clone for TopicConfig
source§fn clone(&self) -> TopicConfig
fn clone(&self) -> TopicConfig
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 TopicConfig
impl Debug for TopicConfig
source§impl Default for TopicConfig
impl Default for TopicConfig
source§fn default() -> TopicConfig
fn default() -> TopicConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TopicConfig
impl<'de> Deserialize<'de> for TopicConfig
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<TopicConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<TopicConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<TopicConfig> for TopicSpec
impl From<TopicConfig> for TopicSpec
source§fn from(config: TopicConfig) -> TopicSpec
fn from(config: TopicConfig) -> TopicSpec
Converts to this type from the input type.
source§impl FromStr for TopicConfig
impl FromStr for TopicConfig
source§impl PartialEq for TopicConfig
impl PartialEq for TopicConfig
source§fn eq(&self, other: &TopicConfig) -> bool
fn eq(&self, other: &TopicConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TopicConfig
impl Serialize for TopicConfig
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for TopicConfig
impl StructuralPartialEq for TopicConfig
Auto Trait Implementations§
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.