pub struct ReplicationCycle {
pub cycle_number: Option<i32>,
pub end_time: Option<DateTime<Utc>>,
pub error: Option<Status>,
pub name: Option<String>,
pub progress_percent: Option<i32>,
pub start_time: Option<DateTime<Utc>>,
pub state: Option<String>,
pub steps: Option<Vec<CycleStep>>,
pub total_pause_duration: Option<Duration>,
pub warnings: Option<Vec<MigrationWarning>>,
}Expand description
ReplicationCycle contains information about the current replication cycle status.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
Fields§
§cycle_number: Option<i32>The cycle’s ordinal number.
end_time: Option<DateTime<Utc>>The time the replication cycle has ended.
error: Option<Status>Output only. Provides details on the state of the cycle in case of an error.
name: Option<String>The identifier of the ReplicationCycle.
progress_percent: Option<i32>The current progress in percentage of this cycle. Was replaced by ‘steps’ field, which breaks down the cycle progression more accurately.
start_time: Option<DateTime<Utc>>The time the replication cycle has started.
state: Option<String>State of the ReplicationCycle.
steps: Option<Vec<CycleStep>>The cycle’s steps list representing its progress.
total_pause_duration: Option<Duration>The accumulated duration the replication cycle was paused.
warnings: Option<Vec<MigrationWarning>>Output only. Warnings that occurred during the cycle.
Trait Implementations§
Source§impl Clone for ReplicationCycle
impl Clone for ReplicationCycle
Source§fn clone(&self) -> ReplicationCycle
fn clone(&self) -> ReplicationCycle
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ReplicationCycle
impl Debug for ReplicationCycle
Source§impl Default for ReplicationCycle
impl Default for ReplicationCycle
Source§fn default() -> ReplicationCycle
fn default() -> ReplicationCycle
Source§impl<'de> Deserialize<'de> for ReplicationCycle
impl<'de> Deserialize<'de> for ReplicationCycle
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>,
Source§impl Serialize for ReplicationCycle
impl Serialize for ReplicationCycle
impl ResponseResult for ReplicationCycle
Auto Trait Implementations§
impl Freeze for ReplicationCycle
impl RefUnwindSafe for ReplicationCycle
impl Send for ReplicationCycle
impl Sync for ReplicationCycle
impl Unpin for ReplicationCycle
impl UnwindSafe for ReplicationCycle
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more