pub fn new(app_id: String, app_key: String, source_language: Language) -> Self {
        let mut http_client = surf::Client::new();
        http_client.set_base_url(Url::parse(API_BASE_URL).unwrap());
        Self {
            app_id,
            app_key,
            source_language,
            http_client,
        }
    }
/// Creates new instance of `Client`
Creates new instance of `Client`
Creates new instance of ` Client `
pub fn new(app_id: String, app_key: String, source_language: Language) -> Self {
        let mut http_client = surf::Client::new();
        http_client.set_base_url(Url::parse(API_BASE_URL).unwrap());
        Self {
            app_id,
            app_key,
            source_language,
            http_client,
        }
    }
pub fn new ( app_id : String , app_key : String , source_language : Language ) -> Self { let mut http_client = surf :: Client :: new ( ) ; http_client . set_base_url ( Url :: parse ( API_BASE_URL ) . unwrap ( ) ) ; Self { app_id , app_key , source_language , http_client , } }
Creates new instance of `Client`
Creates new instance of ` Client `
app_id
String
app_key
String
source_language
Language