pub struct GeoReplicationStatus {
pub region_id: String,
pub peers: Vec<PeerStatus>,
pub events_sent: u64,
pub events_received: u64,
pub conflicts_resolved: u64,
pub current_hlc: HlcTimestamp,
pub version_vectors: BTreeMap<String, VersionVector>,
}Expand description
Status of the geo-replication system.
Fields§
§region_id: StringThis region’s ID.
peers: Vec<PeerStatus>Peer regions and their health.
events_sent: u64Total events replicated out.
events_received: u64Total events received from peers.
conflicts_resolved: u64Total conflicts resolved (skipped duplicates).
current_hlc: HlcTimestampCurrent HLC state.
version_vectors: BTreeMap<String, VersionVector>Version vectors per region.
Trait Implementations§
Source§impl Clone for GeoReplicationStatus
impl Clone for GeoReplicationStatus
Source§fn clone(&self) -> GeoReplicationStatus
fn clone(&self) -> GeoReplicationStatus
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 GeoReplicationStatus
impl Debug for GeoReplicationStatus
Source§impl<'de> Deserialize<'de> for GeoReplicationStatus
impl<'de> Deserialize<'de> for GeoReplicationStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GeoReplicationStatus
impl RefUnwindSafe for GeoReplicationStatus
impl Send for GeoReplicationStatus
impl Sync for GeoReplicationStatus
impl Unpin for GeoReplicationStatus
impl UnsafeUnpin for GeoReplicationStatus
impl UnwindSafe for GeoReplicationStatus
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