pub struct MapEnvOverrides {
pub max_parallel: Option<usize>,
pub config_overrides: Option<HashMap<String, Value>>,
pub workflow_env_overrides: Option<HashMap<String, Value>>,
}Expand description
Configuration for local environment overrides.
Fields§
§max_parallel: Option<usize>Override max parallel agents
config_overrides: Option<HashMap<String, Value>>Override or merge additional config values
workflow_env_overrides: Option<HashMap<String, Value>>Override or merge workflow environment
Implementations§
Source§impl MapEnvOverrides
impl MapEnvOverrides
Sourcepub fn with_max_parallel(self, max_parallel: usize) -> Self
pub fn with_max_parallel(self, max_parallel: usize) -> Self
Set max parallel override.
Sourcepub fn with_config(self, key: impl Into<String>, value: Value) -> Self
pub fn with_config(self, key: impl Into<String>, value: Value) -> Self
Set config override.
Sourcepub fn with_workflow_env(self, key: impl Into<String>, value: Value) -> Self
pub fn with_workflow_env(self, key: impl Into<String>, value: Value) -> Self
Set workflow env override.
Trait Implementations§
Source§impl Clone for MapEnvOverrides
impl Clone for MapEnvOverrides
Source§fn clone(&self) -> MapEnvOverrides
fn clone(&self) -> MapEnvOverrides
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 moreSource§impl Debug for MapEnvOverrides
impl Debug for MapEnvOverrides
Source§impl Default for MapEnvOverrides
impl Default for MapEnvOverrides
Source§fn default() -> MapEnvOverrides
fn default() -> MapEnvOverrides
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MapEnvOverrides
impl RefUnwindSafe for MapEnvOverrides
impl Send for MapEnvOverrides
impl Sync for MapEnvOverrides
impl Unpin for MapEnvOverrides
impl UnsafeUnpin for MapEnvOverrides
impl UnwindSafe for MapEnvOverrides
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more