#[non_exhaustive]pub struct RunRecord {Show 17 fields
pub version: u32,
pub name: RunName,
pub manifest: PathBuf,
pub target: Target,
pub driver: Driver,
pub cloud: Option<Cloud>,
pub provider: Option<Provider>,
pub host_label: Option<String>,
pub state: RunState,
pub params: BTreeMap<String, String>,
pub vm_host_ports: BTreeMap<String, u16>,
pub vm_boot_digests: 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 last brought up or updated from, absolute: what a later
operation that has only the record (a sweep’s down) reopens.
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<Provider>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.
vm_host_ports: BTreeMap<String, u16>The host ports a local VM run forwards from this computer, by "<machine>/<port>": a free
one the runner pinned at the first start, kept so a resume forwards the same port.
vm_boot_digests: BTreeMap<String, String>The boot digest (the manifest’s native.boot_digest) of the Vagrantfile each VM of the run
was last brought up or updated with, by machine name: what an update compares to reload a
running VM whose boot-time settings changed. Empty for a run recorded before the runner
kept them.
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 Forget for RunRecord
impl Freeze for RunRecord
impl Move 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.