pub struct BuildConfig {
pub image: String,
pub script: String,
pub environment: HashMap<String, String>,
pub timeout_seconds: u32,
pub compute_type: ComputeType,
pub monitoring: Option<MonitoringConfig>,
}Expand description
Configuration for starting a build.
Fields§
§image: StringBase container image to use for the build environment.
script: StringBash script to execute for the build.
environment: HashMap<String, String>Key-value pairs to set as environment variables for the build.
timeout_seconds: u32Maximum execution time for the build in seconds.
compute_type: ComputeTypeAmount of compute resources allocated to the build.
monitoring: Option<MonitoringConfig>Optional monitoring configuration for sending build logs
Trait Implementations§
Source§impl Clone for BuildConfig
impl Clone for BuildConfig
Source§fn clone(&self) -> BuildConfig
fn clone(&self) -> BuildConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BuildConfig
impl Debug for BuildConfig
Source§impl<'de> Deserialize<'de> for BuildConfig
impl<'de> Deserialize<'de> for BuildConfig
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BuildConfig
impl RefUnwindSafe for BuildConfig
impl Send for BuildConfig
impl Sync for BuildConfig
impl Unpin for BuildConfig
impl UnsafeUnpin for BuildConfig
impl UnwindSafe for BuildConfig
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