pub struct GcJobResult {
pub job_id: String,
pub state: String,
pub action: String,
pub reason: String,
pub bytes: u64,
}Expand description
Per-job result entry in a gc response.
Fields§
§job_id: String§state: StringJob state as reported from state.json: running | exited | killed | failed | unknown
action: StringWhat GC did: “deleted” | “would_delete” | “skipped”
reason: StringHuman-readable explanation for the action.
bytes: u64Byte size of the job directory (0 for skipped jobs where size is not computed).
Trait Implementations§
Source§impl Debug for GcJobResult
impl Debug for GcJobResult
Source§impl<'de> Deserialize<'de> for GcJobResult
impl<'de> Deserialize<'de> for GcJobResult
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 GcJobResult
impl RefUnwindSafe for GcJobResult
impl Send for GcJobResult
impl Sync for GcJobResult
impl Unpin for GcJobResult
impl UnsafeUnpin for GcJobResult
impl UnwindSafe for GcJobResult
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