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) -> 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 duplicate of the value. Read more
1.0.0 (const: unstable) · 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
impl Eq for RemoteMirrorConfig
Source§impl PartialEq for RemoteMirrorConfig
impl PartialEq for RemoteMirrorConfig
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 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 UnsafeUnpin for RemoteMirrorConfig
impl UnwindSafe for RemoteMirrorConfig
Blanket Implementations§
impl<T> AsyncConnector for T
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.