pub struct CacheApplyPayload {
pub applied: u64,
pub failed: u64,
pub items: Vec<CacheApplyItem>,
}Expand description
data payload for cache apply JSON envelope.
Per the cache-management spec, applied + failed == items.len() and
each entry in items carries per-operation status ("ok" or
"error") plus an optional CacheItemError when the entry failed.
Fields§
§applied: u64Number of cached operations applied successfully.
failed: u64Number of cached operations that failed to apply.
items: Vec<CacheApplyItem>Per-item status for every entry processed.
Trait Implementations§
Source§impl Debug for CacheApplyPayload
impl Debug for CacheApplyPayload
Auto Trait Implementations§
impl Freeze for CacheApplyPayload
impl RefUnwindSafe for CacheApplyPayload
impl Send for CacheApplyPayload
impl Sync for CacheApplyPayload
impl Unpin for CacheApplyPayload
impl UnsafeUnpin for CacheApplyPayload
impl UnwindSafe for CacheApplyPayload
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