Struct tencent3::client::TencentClient
source · pub struct TencentClient<S> {
pub client: Client<S>,
pub credential: Credential,
pub user_agent: String,
}
Fields§
§client: Client<S>
§credential: Credential
§user_agent: String
Implementations§
source§impl<'a, S> TencentClient<S>
impl<'a, S> TencentClient<S>
pub fn new(client: Client<S>, credential: Credential) -> Self
sourcepub fn translate(&'a self) -> TranslateMethods<'a, S>
pub fn translate(&'a self) -> TranslateMethods<'a, S>
Tencent Machine Translate APIs
source§impl TencentClient<HttpsConnector<HttpConnector>>
impl TencentClient<HttpsConnector<HttpConnector>>
sourcepub fn native(credential: Credential) -> Self
pub fn native(credential: Credential) -> Self
construct HyperClient with no proxy