pub struct WarmingProgress {
pub total_keys: usize,
pub warmed_keys: usize,
pub progress_percent: f64,
pub estimated_time_remaining: Option<i64>,
pub warming_rate: f64,
pub start_time: DateTime<Utc>,
pub elapsed_seconds: i64,
}Expand description
Warming progress information
Fields§
§total_keys: usizeTotal keys to warm
warmed_keys: usizeKeys warmed so far
progress_percent: f64Progress percentage (0.0 - 100.0)
estimated_time_remaining: Option<i64>Estimated time remaining (seconds)
warming_rate: f64Current warming rate (keys/sec)
start_time: DateTime<Utc>Start time
elapsed_seconds: i64Elapsed time (seconds)
Implementations§
Trait Implementations§
Source§impl Clone for WarmingProgress
impl Clone for WarmingProgress
Source§fn clone(&self) -> WarmingProgress
fn clone(&self) -> WarmingProgress
Returns a duplicate of the value. Read more
1.0.0 · 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 WarmingProgress
impl Debug for WarmingProgress
Source§impl<'de> Deserialize<'de> for WarmingProgress
impl<'de> Deserialize<'de> for WarmingProgress
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 WarmingProgress
impl RefUnwindSafe for WarmingProgress
impl Send for WarmingProgress
impl Sync for WarmingProgress
impl Unpin for WarmingProgress
impl UnsafeUnpin for WarmingProgress
impl UnwindSafe for WarmingProgress
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more