pub struct NewRepoBuild {
pub org: String,
pub repo_name: String,
pub source_slug: String,
pub branch: String,
pub commit: String,
pub message: Option<String>,
pub pipeline_ir: String,
pub source_tgz: Vec<u8>,
pub env: HashMap<String, String>,
}Expand description
A new build addressed by the repo-natural identity (repo_name, source_slug)
rather than the org-global pipeline slug — the hm run path. A repo-local
client knows its git remote and its in-repo pipeline name, but not the
namespaced slug the server assigns on discovery.
Fields§
§org: StringOrganization slug.
repo_name: StringRepository owner/repo, from the worktree’s git remote.
source_slug: StringIn-repo pipeline name — the @hm.pipeline("…") slug.
branch: StringSource branch recorded on the build.
commit: StringSource commit SHA recorded on the build.
message: Option<String>Optional build/commit message.
pipeline_ir: StringPre-rendered v0 IR JSON.
source_tgz: Vec<u8>Raw gzipped tar bytes of the worktree (will be base64-encoded).
env: HashMap<String, String>Build-level environment variables.
Trait Implementations§
Source§impl Clone for NewRepoBuild
impl Clone for NewRepoBuild
Source§fn clone(&self) -> NewRepoBuild
fn clone(&self) -> NewRepoBuild
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 NewRepoBuild
impl RefUnwindSafe for NewRepoBuild
impl Send for NewRepoBuild
impl Sync for NewRepoBuild
impl Unpin for NewRepoBuild
impl UnsafeUnpin for NewRepoBuild
impl UnwindSafe for NewRepoBuild
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