pub struct MigrationProgress {
pub migration_id: String,
pub state: MigrationState,
pub skipped: usize,
pub effective_total: usize,
pub effective_coverage: f64,
pub throughput: f64,
pub eta_secs: Option<f64>,
pub error_count: usize,
}Expand description
Progress report for an active migration.
Fields§
§migration_id: StringIdentifier of the migration this progress belongs to.
state: MigrationStateCurrent state of the migration.
skipped: usizeNumber of embeddings skipped so far.
effective_total: usizeTotal minus skipped – the number of embeddings that actually need processing.
effective_coverage: f64Fraction of effective_total that has been processed (0.0 to 1.0).
throughput: f64Embeddings processed per second.
eta_secs: Option<f64>Estimated seconds remaining, if calculable.
error_count: usizeNumber of errors encountered during processing.
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
Source§impl<'de> Deserialize<'de> for MigrationProgress
impl<'de> Deserialize<'de> for MigrationProgress
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 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