Lines Matching defs:key
463 for (key, value) in env_list.envs.iter() {
464 // if key.starts_with("DADK") {
465 // debug!("DADK env found: {}={}", key, value.value);
467 command.env(key, value.value.clone());
470 for (key, value) in self.local_envs.envs.iter() {
471 debug!("Local env found: {}={}", key, value.value);
472 command.env(key, value.value.clone());
486 .add(EnvVar::new(tv.key().to_string(), tv.value().to_string()));
614 self.envs.insert(env.key.clone(), env);
618 pub fn get(&self, key: &str) -> Option<&EnvVar> {
619 self.envs.get(key)
623 for (key, value) in vars {
624 self.add(EnvVar::new(key, value));
632 pub key: String,
637 pub fn new(key: String, value: String) -> Self {
638 Self { key, value }