pub struct EnvironmentBuilder { /* private fields */ }Expand description
Environment info builder for generating environment.properties.
Implementations§
Source§impl EnvironmentBuilder
impl EnvironmentBuilder
Sourcepub fn results_dir(self, path: impl Into<String>) -> Self
pub fn results_dir(self, path: impl Into<String>) -> Self
Sets the results directory.
Sourcepub fn set(self, key: impl Into<String>, value: impl Into<String>) -> Self
pub fn set(self, key: impl Into<String>, value: impl Into<String>) -> Self
Adds a key-value pair.
Sourcepub fn set_from_env(self, key: impl Into<String>, env_var: &str) -> Self
pub fn set_from_env(self, key: impl Into<String>, env_var: &str) -> Self
Adds a key-value pair from an environment variable.