pub struct Progress {
pub phase: String,
pub message: String,
pub detail: Option<String>,
pub current: u64,
pub total: u64,
pub operation_id: Option<String>,
}Expand description
A progress event, published at stage and chunk boundaries.
Fields§
§phase: StringStable stage identifier, e.g. index-build, drop-cutter, linking.
message: StringHuman-readable one-liner.
detail: Option<String>Optional detail; a fallback path names itself here.
current: u64Work units done so far in this phase.
total: u64Total work units in this phase (0 when unknown).
operation_id: Option<String>The operation this progress belongs to, when there is one.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Progress
impl<'de> Deserialize<'de> for Progress
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
impl StructuralPartialEq for Progress
Auto Trait Implementations§
impl Forget for Progress
impl Freeze for Progress
impl Move for Progress
impl RefUnwindSafe for Progress
impl Send for Progress
impl Sync for Progress
impl Unpin for Progress
impl UnsafeUnpin for Progress
impl UnwindSafe for Progress
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