pub struct Step {
pub id: String,
pub title: String,
pub weight: f64,
pub done: u64,
pub total: Option<u64>,
pub started: bool,
pub finished: bool,
}Expand description
A declared sub-step of a job.
Fields§
§id: String§title: String§weight: f64Its share of the job, against the other steps’ (its estimate).
done: u64§total: Option<u64>§started: bool§finished: boolImplementations§
Trait Implementations§
impl StructuralPartialEq for Step
Auto Trait Implementations§
impl Freeze for Step
impl RefUnwindSafe for Step
impl Send for Step
impl Sync for Step
impl Unpin for Step
impl UnsafeUnpin for Step
impl UnwindSafe for Step
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