pub struct PruneResult {
pub request: String,
pub outcome: Result<CacheUsage, String>,
}Expand description
The service’s answer to one prune request.
Fields§
§request: StringThe identifier the request carried.
outcome: Result<CacheUsage, String>What the pass measured and removed, or why it could not run.
Implementations§
Source§impl PruneResult
impl PruneResult
Trait Implementations§
Source§impl Clone for PruneResult
impl Clone for PruneResult
Source§impl Debug for PruneResult
impl Debug for PruneResult
Source§impl<'de> Deserialize<'de> for PruneResult
impl<'de> Deserialize<'de> for PruneResult
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
impl Eq for PruneResult
Source§impl PartialEq for PruneResult
impl PartialEq for PruneResult
Source§impl Serialize for PruneResult
impl Serialize for PruneResult
impl StructuralPartialEq for PruneResult
Auto Trait Implementations§
impl Freeze for PruneResult
impl RefUnwindSafe for PruneResult
impl Send for PruneResult
impl Sync for PruneResult
impl Unpin for PruneResult
impl UnsafeUnpin for PruneResult
impl UnwindSafe for PruneResult
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