mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
Allow access to the client and the hub
This commit is contained in:
0
etc/api/drive/v3/crates/2.0.9-api+20210322
Normal file
0
etc/api/drive/v3/crates/2.0.9-api+20210322
Normal file
@@ -49,8 +49,8 @@ ${lib.hub_usage_example(c)}\
|
|||||||
</%block>
|
</%block>
|
||||||
#[derive(Clone)]
|
#[derive(Clone)]
|
||||||
pub struct ${hub_type}${ht_params} {
|
pub struct ${hub_type}${ht_params} {
|
||||||
client: hyper::Client<hyper_rustls::HttpsConnector<hyper::client::connect::HttpConnector>, hyper::body::Body>,
|
pub client: hyper::Client<hyper_rustls::HttpsConnector<hyper::client::connect::HttpConnector>, hyper::body::Body>,
|
||||||
auth: oauth2::authenticator::Authenticator<hyper_rustls::HttpsConnector<hyper::client::connect::HttpConnector>>,
|
pub auth: oauth2::authenticator::Authenticator<hyper_rustls::HttpsConnector<hyper::client::connect::HttpConnector>>,
|
||||||
_user_agent: String,
|
_user_agent: String,
|
||||||
_base_url: String,
|
_base_url: String,
|
||||||
_root_url: String,
|
_root_url: String,
|
||||||
|
|||||||
Reference in New Issue
Block a user