pub struct CurrentUpdateInit {
pub name: String,
pub total_item_count: u64,
pub total_duration_ms: f64,
pub average_items_per_ms: f64,
}
Expand description
Initial set of fields of CurrentUpdate
.
This struct will not be updated even if additional fields are added to CurrentUpdate
.
Fields§
§name: String
Name of the update.
total_item_count: u64
Total number of processed “items”.
total_duration_ms: f64
Runtime of background process, not including sleeping time.
average_items_per_ms: f64
Items processed per millisecond based on an exponential average.
Trait Implementations§
Source§impl Debug for CurrentUpdateInit
impl Debug for CurrentUpdateInit
Source§impl From<CurrentUpdateInit> for CurrentUpdate
impl From<CurrentUpdateInit> for CurrentUpdate
Source§fn from(value: CurrentUpdateInit) -> Self
fn from(value: CurrentUpdateInit) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CurrentUpdateInit
impl RefUnwindSafe for CurrentUpdateInit
impl Send for CurrentUpdateInit
impl Sync for CurrentUpdateInit
impl Unpin for CurrentUpdateInit
impl UnwindSafe for CurrentUpdateInit
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