#[non_exhaustive]pub struct RunRecord {Show 16 fields
pub version: u32,
pub name: RunName,
pub manifest: PathBuf,
pub manifest_sha256: String,
pub target: Target,
pub driver: Driver,
pub cloud: Option<Cloud>,
pub provider: Option<String>,
pub host_label: Option<String>,
pub state: RunState,
pub params: BTreeMap<String, String>,
pub started_at: Option<String>,
pub slot: Option<u8>,
pub ssh_jump: Option<String>,
pub expires_at: Option<u64>,
pub last: Option<LastOp>,
}Expand description
What the runner keeps about a run (never a secret’s value).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.version: u32The record format’s version.
name: RunNameThe run’s name.
manifest: PathBufThe manifest the run was started from, absolute.
manifest_sha256: StringIts SHA-256.
target: TargetIts target.
driver: DriverIts driver.
cloud: Option<Cloud>Its cloud, for a cloud target’s run: what the reaper picks runs by.
provider: Option<String>The Vagrant provider the run uses, when it has one.
host_label: Option<String>What the embedder calls the place the run is on (a server, an account).
state: RunStateWhere it stood after its last operation.
params: BTreeMap<String, String>Every param the run was started with: a later operation (a down) replays them, so it acts
on what was created, not on what the embedder’s settings say now.
started_at: Option<String>When it was last started.
slot: Option<u8>Its slot on its place (${run.slot}, 1 to 99), held from its first start to its down.
ssh_jump: Option<String>The login its SSH goes through first (user@host), when the embedder gave one.
expires_at: Option<u64>When it stops itself (the manifest’s expiry), in seconds since the Unix epoch.
last: Option<LastOp>The last operation.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RunRecord
impl<'de> Deserialize<'de> for RunRecord
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>,
impl Eq for RunRecord
impl StructuralPartialEq for RunRecord
Auto Trait Implementations§
impl Freeze for RunRecord
impl RefUnwindSafe for RunRecord
impl Send for RunRecord
impl Sync for RunRecord
impl Unpin for RunRecord
impl UnsafeUnpin for RunRecord
impl UnwindSafe for RunRecord
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.