模块 company_service (0.5.0)

类型别名

ClientBuilder

pub type ClientBuilder = gax::client_builder::ClientBuilder<client::Factory, gaxi::options::Credentials>;

[CompanyService][crate::client::CompanyService] 的构建器。

# tokio_test::block_on(async {
# use google_cloud_talent_v4::*;
# use builder::company_service::ClientBuilder;
# use client::CompanyService;
let builder : ClientBuilder = CompanyService::builder();
let client = builder
    .with_endpoint("https://jobs.googleapis.com")
    .build().await?;
# gax::client_builder::Result::<()>::Ok(()) });