/// Construct a new config where only the `cluster_url` is set by the user.
/// and everything else receives a default value.
///
/// Most likely you want to use [`Config::infer`] to infer the config from
/// the environment.
Construct a new config where only the `cluster_url` is set by the user.
and everything else receives a default value.

Most likely you want to use [`Config::infer`] to infer the config from
the environment.
Construct a new config where only the ` cluster_url ` is set by the user . and everything else receives a default value . Most likely you want to use [ ` Config :: infer ` ] to infer the config from the environment .
pub fn new(cluster_url: reqwest::Url) -> Self {
        Self {
            cluster_url,
            default_ns: String::from("default"),
            root_cert: None,
            headers: HeaderMap::new(),
            timeout: Some(DEFAULT_TIMEOUT),
            accept_invalid_certs: false,
            proxy: None,
            identity: None,
            auth_header: Authentication::None,
        }
    }
pub fn new ( cluster_url : reqwest :: Url ) -> Self { Self { cluster_url , default_ns : String :: from ( " " ) , root_cert : None , headers : HeaderMap :: new ( ) , timeout : Some ( DEFAULT_TIMEOUT ) , accept_invalid_certs : false , proxy : None , identity : None , auth_header : Authentication :: None , } }
Construct a new config where only the `cluster_url` is set by the user.
Construct a new config where only the ` cluster_url ` is set by the user .
cluster_url
reqwest::Url