pub struct ExecutionContext {
pub repo: String,
pub state: StateRef,
pub basis: Basis,
pub definition_digest: String,
pub toolchain: Option<String>,
pub pick_id: Option<String>,
pub attempt: u32,
pub runner: Option<String>,
pub image_digest: Option<String>,
}Expand description
Facts about the exact state/tree being evaluated.
Fields§
§repo: StringRepository identifier.
state: StateRefState reference carried in the verdict body.
basis: BasisExact evaluated tree and basis.
definition_digest: StringTyped-blob digest of the raw definition.
toolchain: Option<String>Optional toolchain string.
pick_id: Option<String>Hosted pick id; absent locally.
attempt: u32One-based run attempt.
runner: Option<String>Hosted runner identity; absent locally.
image_digest: Option<String>Immutable image digest, when used.
Trait Implementations§
Source§impl Clone for ExecutionContext
impl Clone for ExecutionContext
Source§fn clone(&self) -> ExecutionContext
fn clone(&self) -> ExecutionContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ExecutionContext
impl RefUnwindSafe for ExecutionContext
impl Send for ExecutionContext
impl Sync for ExecutionContext
impl Unpin for ExecutionContext
impl UnsafeUnpin for ExecutionContext
impl UnwindSafe for ExecutionContext
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