pub struct RunRequest {
pub plan: Plan,
pub repo_root: PathBuf,
pub pipeline_slug: String,
pub env: BTreeMap<String, String>,
pub source: SourceMeta,
pub options: RunOptions,
pub cloud_pipeline_slug: Option<String>,
}Expand description
All inputs needed to start a build on any crate::ExecutionBackend.
Fields§
§plan: Plan§repo_root: PathBuf§pipeline_slug: String§env: BTreeMap<String, String>§source: SourceMeta§options: RunOptions§cloud_pipeline_slug: Option<String>When Some, the cloud backend submits the build directly to this
already-resolved org-global pipeline slug (via submit_build) instead
of resolving by repo identity (submit_repo_build). Set by the hm run
driver after it has created or looked up the pipeline for a repo the
server hasn’t “discovered” (connected/pushed). None for the normal
repo-identity path. Ignored by non-cloud backends.
Trait Implementations§
Source§impl Clone for RunRequest
impl Clone for RunRequest
Source§fn clone(&self) -> RunRequest
fn clone(&self) -> RunRequest
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 RunRequest
impl RefUnwindSafe for RunRequest
impl Send for RunRequest
impl Sync for RunRequest
impl Unpin for RunRequest
impl UnsafeUnpin for RunRequest
impl UnwindSafe for RunRequest
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