pub struct RemoteMirrorConfig {
pub home_cluster: String,
pub home_spus: Vec<SpuMirrorConfig>,
pub target: bool,
}Fields§
§home_cluster: String§home_spus: Vec<SpuMirrorConfig>§target: boolImplementations§
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 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 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
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.