pub struct ProgressUpdate {
pub current_step: usize,
pub total_steps: usize,
pub progress_percentage: f32,
pub estimated_time_remaining: Duration,
pub timestamp: DateTime<Utc>,
}Expand description
Progress update event
Fields§
§current_step: usizeCurrent step index (0-based)
total_steps: usizeTotal number of steps
progress_percentage: f32Overall progress percentage (0-100)
estimated_time_remaining: DurationEstimated time remaining
timestamp: DateTime<Utc>Timestamp of this update
Trait Implementations§
Source§impl Clone for ProgressUpdate
impl Clone for ProgressUpdate
Source§fn clone(&self) -> ProgressUpdate
fn clone(&self) -> ProgressUpdate
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 ProgressUpdate
impl Debug for ProgressUpdate
Source§impl<'de> Deserialize<'de> for ProgressUpdate
impl<'de> Deserialize<'de> for ProgressUpdate
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 ProgressUpdate
impl RefUnwindSafe for ProgressUpdate
impl Send for ProgressUpdate
impl Sync for ProgressUpdate
impl Unpin for ProgressUpdate
impl UnwindSafe for ProgressUpdate
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