pub struct ProgressIndicator {
pub source: String,
pub metric_type: ProgressMetricType,
pub current_value: f64,
pub target_value: Option<f64>,
pub description: String,
}Expand description
Progress indicator from content analysis
Fields§
§source: StringSource of the indicator (file name, section)
metric_type: ProgressMetricTypeType of progress metric
current_value: f64Current value
target_value: Option<f64>Target value (if applicable)
description: StringProgress description
Trait Implementations§
Source§impl Clone for ProgressIndicator
impl Clone for ProgressIndicator
Source§fn clone(&self) -> ProgressIndicator
fn clone(&self) -> ProgressIndicator
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 moreAuto Trait Implementations§
impl Freeze for ProgressIndicator
impl RefUnwindSafe for ProgressIndicator
impl Send for ProgressIndicator
impl Sync for ProgressIndicator
impl Unpin for ProgressIndicator
impl UnwindSafe for ProgressIndicator
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