pub struct MigrationProgress {
pub stage: MigrationStage,
pub detail: String,
pub resource_type: Option<String>,
pub resource_name: Option<String>,
pub current: Option<u32>,
pub total: Option<u32>,
}Expand description
Progress update emitted during migration execution.
Fields§
§stage: MigrationStageCurrent stage.
detail: StringHuman-readable detail.
resource_type: Option<String>Resource kind being processed.
resource_name: Option<String>Resource name being processed.
current: Option<u32>Current item index (1-based).
total: Option<u32>Total number of items in the current stage.
Trait Implementations§
Source§impl Clone for MigrationProgress
impl Clone for MigrationProgress
Source§fn clone(&self) -> MigrationProgress
fn clone(&self) -> MigrationProgress
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 MigrationProgress
impl Debug for MigrationProgress
impl Eq for MigrationProgress
Source§impl PartialEq for MigrationProgress
impl PartialEq for MigrationProgress
impl StructuralPartialEq for MigrationProgress
Auto Trait Implementations§
impl Freeze for MigrationProgress
impl RefUnwindSafe for MigrationProgress
impl Send for MigrationProgress
impl Sync for MigrationProgress
impl Unpin for MigrationProgress
impl UnsafeUnpin for MigrationProgress
impl UnwindSafe for MigrationProgress
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.