pub fn new_custom(
        account: String,
        auth_token: AuthorizationToken,
        uri: String,
        options: CosmosOptions,
    ) -> Self {
        let cloud_location = CloudLocation::Custom { account, uri };
        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 custom Azure cloud.
Create a new `CosmosClient` which connects to the account's instance in custom Azure cloud.
Create a new ` CosmosClient ` which connects to the account ' s instance in custom Azure cloud .
pub fn new_custom(
        account: String,
        auth_token: AuthorizationToken,
        uri: String,
        options: CosmosOptions,
    ) -> Self {
        let cloud_location = CloudLocation::Custom { account, uri };
        let pipeline = new_pipeline_from_options(options, auth_token);
        Self {
            pipeline,
            cloud_location,
        }
    }
pub fn new_custom ( account : String , auth_token : AuthorizationToken , uri : String , options : CosmosOptions , ) -> Self { let cloud_location = CloudLocation :: Custom { account , uri } ; 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 custom Azure cloud.
Create a new ` CosmosClient ` which connects to the account ' s instance in custom Azure cloud .
account
String
auth_token
AuthorizationToken
uri
String
options
CosmosOptions