pub struct RunMarker {
pub schema_version: u8,
pub app: String,
pub run_id: String,
pub created_at: u128,
pub owner_pid: u32,
pub lease_until: u128,
pub completed_at: Option<u128>,
pub app_root: Option<PathBuf>,
pub kind: Option<RunKind>,
pub outcome: Option<RunOutcome>,
}Fields§
§schema_version: u8§app: String§run_id: String§created_at: u128§owner_pid: u32§lease_until: u128§completed_at: Option<u128>§app_root: Option<PathBuf>§kind: Option<RunKind>Run kind. Absent in markers written before 0.5.0; retention treats those as functional
but never prunes them, because they carry no recorded outcome either.
outcome: Option<RunOutcome>Pass or fail, set when the job ends. None while running and in pre-0.5.0 markers.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RunMarker
impl<'de> Deserialize<'de> for RunMarker
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 RunMarker
impl RefUnwindSafe for RunMarker
impl Send for RunMarker
impl Sync for RunMarker
impl Unpin for RunMarker
impl UnsafeUnpin for RunMarker
impl UnwindSafe for RunMarker
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