Struct fluvio_controlplane_metadata::topic::config::TopicConfig
source · 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>
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 From<TopicConfig> for TopicSpec
impl From<TopicConfig> for TopicSpec
source§fn from(config: TopicConfig) -> Self
fn from(config: TopicConfig) -> Self
Converts to this type from the input type.
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 ==
.impl Eq for TopicConfig
impl StructuralPartialEq 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
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.