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) -> PartitionCount
pub fn replication_factor(&self) -> Option<ReplicationFactor>
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 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 ==
.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.