Trait ibm_watson::core::services::ConfigService[][src]

pub trait ConfigService {
    fn set_service_url(&mut self, service_url: String);
fn set_default_headers(
        &mut self,
        headers: HashMap<String, String>
    ) -> Result<(), Error>;
fn enable_ibm_data_collection(&mut self);
fn disable_ibm_data_collection(&mut self); }
Expand description

Define shared behaviour across services

Required methods

The base URL for your service instance.

Additional headers to use in your request.

Enable Data collection (IBM Cloud), Text to Speech service instances managed on IBM Cloud that are not part of Premium plans collect data about API requests and their results.

Disable Data collection (IBM Cloud).

Implementors