pub struct ProgressItem<S: PrecisionSettings, B: Backend> {
pub items_processed: <usize as Record<B>>::Item<S>,
pub items_total: <usize as Record<B>>::Item<S>,
}Available on crate features
dataset and std only.Expand description
The record item type for the module.
Fields§
§items_processed: <usize as Record<B>>::Item<S>Field to be serialized.
items_total: <usize as Record<B>>::Item<S>Field to be serialized.
Trait Implementations§
Source§impl<S: PrecisionSettings, B: Backend> Clone for ProgressItem<S, B>
impl<S: PrecisionSettings, B: Backend> Clone for ProgressItem<S, B>
Source§impl<'de, S: PrecisionSettings, B: Backend> Deserialize<'de> for ProgressItem<S, B>
impl<'de, S: PrecisionSettings, B: Backend> Deserialize<'de> for ProgressItem<S, B>
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
Source§impl<S: PrecisionSettings, B: Backend> Serialize for ProgressItem<S, B>
impl<S: PrecisionSettings, B: Backend> Serialize for ProgressItem<S, B>
Auto Trait Implementations§
impl<S, B> Freeze for ProgressItem<S, B>
impl<S, B> RefUnwindSafe for ProgressItem<S, B>
impl<S, B> Send for ProgressItem<S, B>
impl<S, B> Sync for ProgressItem<S, B>
impl<S, B> Unpin for ProgressItem<S, B>
impl<S, B> UnsafeUnpin for ProgressItem<S, B>
impl<S, B> UnwindSafe for ProgressItem<S, B>
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