You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: builders.rs
    path of file: ./repos/pixi/tests/common
    
    the code of the file until where you have to start completion: //! Contains builders for the CLI commands
//! We are using a builder pattern here to make it easier to write tests.
//! And are kinda abusing the `IntoFuture` trait to make it easier to execute as close
//! as we can get to the command line args
//!
//! # Using IntoFuture
//!
//! When `.await` is called on an object that is not a `Future` the compiler will first check if the
//! type implements `IntoFuture`. If it does it will call the `IntoFuture::into_future()` meth
    
    pub fn set_type(mut self, t: DependencyType) -> Self {
        match t {
            DependencyType::CondaDependency(spec_type) => match spec_type {
                SpecType::Host => {
                    self.args.host = true;
                    self.args.build = false;
                }
                SpecType::Build => {
                    self.args.host = false;
                    self.args.build = true;
                }
                SpecType::Run => {
                    self.args.host = false;
                    self.args.build = false;
                }
            },
            DependencyType::PypiDependency => {
                self.args.host = false;
                self.args.build = false;
                self.args.pypi = true;
            }
        }
        self
    }