Struct fluvio::metadata::topic::RemoteMirrorConfig
source · pub struct RemoteMirrorConfig {
pub home_cluster: String,
pub home_spus: Vec<SpuMirrorConfig>,
}
Fields§
§home_cluster: String
§home_spus: Vec<SpuMirrorConfig>
Implementations§
source§impl RemoteMirrorConfig
impl RemoteMirrorConfig
pub fn partition_count(&self) -> u32
pub fn replication_factor(&self) -> Option<u32>
pub fn spus(&self) -> &Vec<SpuMirrorConfig>
pub fn as_partition_maps(&self) -> PartitionMaps
Trait Implementations§
source§impl Clone for RemoteMirrorConfig
impl Clone for RemoteMirrorConfig
source§fn clone(&self) -> RemoteMirrorConfig
fn clone(&self) -> RemoteMirrorConfig
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 RemoteMirrorConfig
impl Debug for RemoteMirrorConfig
source§impl Decoder for RemoteMirrorConfig
impl Decoder for RemoteMirrorConfig
source§impl Default for RemoteMirrorConfig
impl Default for RemoteMirrorConfig
source§fn default() -> RemoteMirrorConfig
fn default() -> RemoteMirrorConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RemoteMirrorConfig
impl<'de> Deserialize<'de> for RemoteMirrorConfig
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<RemoteMirrorConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<RemoteMirrorConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Encoder for RemoteMirrorConfig
impl Encoder for RemoteMirrorConfig
source§impl PartialEq for RemoteMirrorConfig
impl PartialEq for RemoteMirrorConfig
source§fn eq(&self, other: &RemoteMirrorConfig) -> bool
fn eq(&self, other: &RemoteMirrorConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for RemoteMirrorConfig
impl Serialize for RemoteMirrorConfig
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 RemoteMirrorConfig
impl StructuralPartialEq for RemoteMirrorConfig
Auto Trait Implementations§
impl Freeze for RemoteMirrorConfig
impl RefUnwindSafe for RemoteMirrorConfig
impl Send for RemoteMirrorConfig
impl Sync for RemoteMirrorConfig
impl Unpin for RemoteMirrorConfig
impl UnwindSafe for RemoteMirrorConfig
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.