pub struct ReplicatedInfos {
pub replication_timestamp: Option<OffsetDateTime>,
pub targets: Vec<ReplicatedTargetInfo>,
}Expand description
ReplicatedInfos struct contains replication information for multiple targets
Fields§
§replication_timestamp: Option<OffsetDateTime>§targets: Vec<ReplicatedTargetInfo>Implementations§
Source§impl ReplicatedInfos
impl ReplicatedInfos
Sourcepub fn completed_size(&self) -> i64
pub fn completed_size(&self) -> i64
Returns the total size of completed replications
Sourcepub fn replication_resynced(&self) -> bool
pub fn replication_resynced(&self) -> bool
Returns true if replication was attempted on any of the targets for the object version queued
Sourcepub fn replication_status_internal(&self) -> Option<String>
pub fn replication_status_internal(&self) -> Option<String>
Returns internal representation of replication status for all targets
Sourcepub fn replication_status(&self) -> ReplicationStatusType
pub fn replication_status(&self) -> ReplicationStatusType
Returns overall replication status across all targets
Sourcepub fn version_purge_status(&self) -> VersionPurgeStatusType
pub fn version_purge_status(&self) -> VersionPurgeStatusType
Returns overall version purge status across all targets
Sourcepub fn version_purge_status_internal(&self) -> Option<String>
pub fn version_purge_status_internal(&self) -> Option<String>
Returns internal representation of version purge status for all targets
Sourcepub fn action(&self) -> ReplicationAction
pub fn action(&self) -> ReplicationAction
Returns replication action based on target that actually performed replication
Trait Implementations§
Source§impl Clone for ReplicatedInfos
impl Clone for ReplicatedInfos
Auto Trait Implementations§
impl Freeze for ReplicatedInfos
impl RefUnwindSafe for ReplicatedInfos
impl Send for ReplicatedInfos
impl Sync for ReplicatedInfos
impl Unpin for ReplicatedInfos
impl UnsafeUnpin for ReplicatedInfos
impl UnwindSafe for ReplicatedInfos
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