pub fn new(account: String, auth_token: AuthorizationToken, options: CosmosOptions) -> Self {
        let cloud_location = CloudLocation::Public(account);
        let pipeline = new_pipeline_from_options(options, auth_token);
        Self {
            pipeline,
            cloud_location,
        }
    }
/// Create a new `CosmosClient` which connects to the account's instance in the public Azure cloud.
Create a new `CosmosClient` which connects to the account's instance in the public Azure cloud.
Create a new ` CosmosClient ` which connects to the account ' s instance in the public Azure cloud .
pub fn new(account: String, auth_token: AuthorizationToken, options: CosmosOptions) -> Self {
        let cloud_location = CloudLocation::Public(account);
        let pipeline = new_pipeline_from_options(options, auth_token);
        Self {
            pipeline,
            cloud_location,
        }
    }
pub fn new ( account : String , auth_token : AuthorizationToken , options : CosmosOptions ) -> Self { let cloud_location = CloudLocation :: Public ( account ) ; let pipeline = new_pipeline_from_options ( options , auth_token ) ; Self { pipeline , cloud_location , } }
Create a new `CosmosClient` which connects to the account's instance in the public Azure cloud.
Create a new ` CosmosClient ` which connects to the account ' s instance in the public Azure cloud .
account
String
auth_token
AuthorizationToken
options
CosmosOptions