pub struct ScanProgress {
pub module: String,
pub percentage: f32,
pub message: String,
pub status: String,
}Expand description
Standardized progress event for async tasks.
Fields§
§module: String§percentage: f32§message: String§status: StringTrait Implementations§
Source§impl Clone for ScanProgress
impl Clone for ScanProgress
Source§fn clone(&self) -> ScanProgress
fn clone(&self) -> ScanProgress
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 ScanProgress
impl Debug for ScanProgress
Source§impl<'de> Deserialize<'de> for ScanProgress
impl<'de> Deserialize<'de> for ScanProgress
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 ScanProgress
impl RefUnwindSafe for ScanProgress
impl Send for ScanProgress
impl Sync for ScanProgress
impl Unpin for ScanProgress
impl UnsafeUnpin for ScanProgress
impl UnwindSafe for ScanProgress
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