pub struct NewBuild {
pub org: String,
pub pipeline: 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 of a local worktree: the v0 IR is pre-rendered and the
source is uploaded inline as a gzipped tarball (base64 source_b64).
Fields§
§org: StringOrganization slug.
pipeline: StringPipeline 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 ({"version":"0","steps":[...]}).
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§
Auto Trait Implementations§
impl Freeze for NewBuild
impl RefUnwindSafe for NewBuild
impl Send for NewBuild
impl Sync for NewBuild
impl Unpin for NewBuild
impl UnsafeUnpin for NewBuild
impl UnwindSafe for NewBuild
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