pub struct StepProgress {
pub step_index: usize,
pub step_id: String,
pub status: StepStatus,
pub progress_percent: u8,
pub message: Option<String>,
}Expand description
Progress update for a single step.
Fields§
§step_index: usizeZero-based index of this step in the chain.
step_id: StringUnique identifier of the step.
status: StepStatusCurrent status of the step.
progress_percent: u8Completion percentage, clamped to 0..=100.
message: Option<String>Optional human-readable progress message.
Trait Implementations§
Source§impl Clone for StepProgress
impl Clone for StepProgress
Source§fn clone(&self) -> StepProgress
fn clone(&self) -> StepProgress
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 StepProgress
impl Debug for StepProgress
Source§impl<'de> Deserialize<'de> for StepProgress
impl<'de> Deserialize<'de> for StepProgress
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 StepProgress
impl RefUnwindSafe for StepProgress
impl Send for StepProgress
impl Sync for StepProgress
impl Unpin for StepProgress
impl UnsafeUnpin for StepProgress
impl UnwindSafe for StepProgress
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