pub struct WarmCacheResponse {
pub success: bool,
pub entries_warmed: u64,
pub entries_skipped: u64,
pub job_id: Option<String>,
pub message: String,
pub estimated_completion: Option<String>,
pub target_tier: WarmingTargetTier,
pub priority: WarmingPriority,
pub bytes_warmed: Option<u64>,
}Expand description
Cache warming response
Fields§
§success: boolOperation success
entries_warmed: u64Number of entries warmed
entries_skipped: u64Number of entries already warm (skipped)
job_id: Option<String>Job ID for tracking background operations
message: StringStatus message
estimated_completion: Option<String>Estimated completion time for background jobs (ISO 8601)
target_tier: WarmingTargetTierTarget tier that was warmed
priority: WarmingPriorityPriority that was used
bytes_warmed: Option<u64>Bytes warmed (approximate)
Trait Implementations§
Source§impl Clone for WarmCacheResponse
impl Clone for WarmCacheResponse
Source§fn clone(&self) -> WarmCacheResponse
fn clone(&self) -> WarmCacheResponse
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 WarmCacheResponse
impl Debug for WarmCacheResponse
Source§impl<'de> Deserialize<'de> for WarmCacheResponse
impl<'de> Deserialize<'de> for WarmCacheResponse
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 WarmCacheResponse
impl RefUnwindSafe for WarmCacheResponse
impl Send for WarmCacheResponse
impl Sync for WarmCacheResponse
impl Unpin for WarmCacheResponse
impl UnsafeUnpin for WarmCacheResponse
impl UnwindSafe for WarmCacheResponse
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