diff --git a/gen/cloudbilling1/src/lib.rs.in b/gen/cloudbilling1/src/lib.rs.in index b3a8677b62..518167b69b 100644 --- a/gen/cloudbilling1/src/lib.rs.in +++ b/gen/cloudbilling1/src/lib.rs.in @@ -480,7 +480,7 @@ impl<'a, C, A> BillingAccountGetCall<'a, C, A> where C: BorrowMut /// Perform the operation you have build so far. pub fn doit(mut self) -> Result<(hyper::client::Response, BillingAccount)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -518,7 +518,7 @@ impl<'a, C, A> BillingAccountGetCall<'a, C, A> where C: BorrowMut } } if find_this.as_bytes()[1] == '+' as u8 { - replace_with = percent_encode(replace_with.as_bytes(), FORM_URLENCODED_ENCODE_SET); + replace_with = percent_encode(replace_with.as_bytes(), DEFAULT_ENCODE_SET); } url = url.replace(find_this, &replace_with); } @@ -961,7 +961,7 @@ impl<'a, C, A> BillingAccountProjectListCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, ListProjectBillingInfoResponse)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -1005,7 +1005,7 @@ impl<'a, C, A> BillingAccountProjectListCall<'a, C, A> where C: BorrowMut ProjectGetBillingInfoCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, ProjectBillingInfo)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -1264,7 +1264,7 @@ impl<'a, C, A> ProjectGetBillingInfoCall<'a, C, A> where C: BorrowMut ProjectUpdateBillingInfoCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, ProjectBillingInfo)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -1516,7 +1516,7 @@ impl<'a, C, A> ProjectUpdateBillingInfoCall<'a, C, A> where C: BorrowMut OperationGetCall<'a, C, A> where C: BorrowMut, A: /// Perform the operation you have build so far. pub fn doit(mut self) -> Result<(hyper::client::Response, Operation)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -761,7 +761,7 @@ impl<'a, C, A> OperationGetCall<'a, C, A> where C: BorrowMut, A: } } if find_this.as_bytes()[1] == '+' as u8 { - replace_with = percent_encode(replace_with.as_bytes(), FORM_URLENCODED_ENCODE_SET); + replace_with = percent_encode(replace_with.as_bytes(), DEFAULT_ENCODE_SET); } url = url.replace(find_this, &replace_with); } diff --git a/gen/cloudresourcemanager1_beta1/src/lib.rs.in b/gen/cloudresourcemanager1_beta1/src/lib.rs.in index 61554aba33..e356d64518 100644 --- a/gen/cloudresourcemanager1_beta1/src/lib.rs.in +++ b/gen/cloudresourcemanager1_beta1/src/lib.rs.in @@ -943,7 +943,7 @@ impl<'a, C, A> OrganizationSetIamPolicyCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, Policy)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -981,7 +981,7 @@ impl<'a, C, A> OrganizationSetIamPolicyCall<'a, C, A> where C: BorrowMut OrganizationGetIamPolicyCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, Policy)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -1257,7 +1257,7 @@ impl<'a, C, A> OrganizationGetIamPolicyCall<'a, C, A> where C: BorrowMut OrganizationTestIamPermissionCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, TestIamPermissionsResponse)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -1533,7 +1533,7 @@ impl<'a, C, A> OrganizationTestIamPermissionCall<'a, C, A> where C: BorrowMut OrganizationGetCall<'a, C, A> where C: BorrowMut, /// Perform the operation you have build so far. pub fn doit(mut self) -> Result<(hyper::client::Response, Organization)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -1807,7 +1807,7 @@ impl<'a, C, A> OrganizationGetCall<'a, C, A> where C: BorrowMut, } } if find_this.as_bytes()[1] == '+' as u8 { - replace_with = percent_encode(replace_with.as_bytes(), FORM_URLENCODED_ENCODE_SET); + replace_with = percent_encode(replace_with.as_bytes(), DEFAULT_ENCODE_SET); } url = url.replace(find_this, &replace_with); } @@ -2028,7 +2028,7 @@ impl<'a, C, A> OrganizationUpdateCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, Organization)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -2066,7 +2066,7 @@ impl<'a, C, A> OrganizationUpdateCall<'a, C, A> where C: BorrowMut ProjectRegionOperationCancelCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, Empty)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -2723,7 +2723,7 @@ impl<'a, C, A> ProjectRegionOperationCancelCall<'a, C, A> where C: BorrowMut ProjectRegionOperationGetCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, Operation)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -2968,7 +2968,7 @@ impl<'a, C, A> ProjectRegionOperationGetCall<'a, C, A> where C: BorrowMut ProjectRegionOperationDeleteCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, Empty)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -4607,7 +4607,7 @@ impl<'a, C, A> ProjectRegionOperationDeleteCall<'a, C, A> where C: BorrowMut ProjectRegionOperationListCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, ListOperationsResponse)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -4867,7 +4867,7 @@ impl<'a, C, A> ProjectRegionOperationListCall<'a, C, A> where C: BorrowMut OperationCancelCall<'a, C, A> where C: BorrowMut, /// Perform the operation you have build so far. pub fn doit(mut self) -> Result<(hyper::client::Response, Empty)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -3608,7 +3608,7 @@ impl<'a, C, A> OperationCancelCall<'a, C, A> where C: BorrowMut, } } if find_this.as_bytes()[1] == '+' as u8 { - replace_with = percent_encode(replace_with.as_bytes(), FORM_URLENCODED_ENCODE_SET); + replace_with = percent_encode(replace_with.as_bytes(), DEFAULT_ENCODE_SET); } url = url.replace(find_this, &replace_with); } @@ -3839,7 +3839,7 @@ impl<'a, C, A> OperationGetCall<'a, C, A> where C: BorrowMut, A: /// Perform the operation you have build so far. pub fn doit(mut self) -> Result<(hyper::client::Response, Operation)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -3877,7 +3877,7 @@ impl<'a, C, A> OperationGetCall<'a, C, A> where C: BorrowMut, A: } } if find_this.as_bytes()[1] == '+' as u8 { - replace_with = percent_encode(replace_with.as_bytes(), FORM_URLENCODED_ENCODE_SET); + replace_with = percent_encode(replace_with.as_bytes(), DEFAULT_ENCODE_SET); } url = url.replace(find_this, &replace_with); } @@ -4090,7 +4090,7 @@ impl<'a, C, A> OperationListCall<'a, C, A> where C: BorrowMut, A: /// Perform the operation you have build so far. pub fn doit(mut self) -> Result<(hyper::client::Response, ListOperationsResponse)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -4137,7 +4137,7 @@ impl<'a, C, A> OperationListCall<'a, C, A> where C: BorrowMut, A: } } if find_this.as_bytes()[1] == '+' as u8 { - replace_with = percent_encode(replace_with.as_bytes(), FORM_URLENCODED_ENCODE_SET); + replace_with = percent_encode(replace_with.as_bytes(), DEFAULT_ENCODE_SET); } url = url.replace(find_this, &replace_with); } @@ -5124,7 +5124,7 @@ impl<'a, C, A> DatasetSetIamPolicyCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, Policy)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -5162,7 +5162,7 @@ impl<'a, C, A> DatasetSetIamPolicyCall<'a, C, A> where C: BorrowMut DatasetTestIamPermissionCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, TestIamPermissionsResponse)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -5438,7 +5438,7 @@ impl<'a, C, A> DatasetTestIamPermissionCall<'a, C, A> where C: BorrowMut DatasetGetIamPolicyCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, Policy)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -6199,7 +6199,7 @@ impl<'a, C, A> DatasetGetIamPolicyCall<'a, C, A> where C: BorrowMut ProjectServiceAccountKeyListCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, ListServiceAccountKeysResponse)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -939,7 +939,7 @@ impl<'a, C, A> ProjectServiceAccountKeyListCall<'a, C, A> where C: BorrowMut ProjectServiceAccountSetIamPolicyCall<'a, C, A> where C: BorrowMu /// Perform the operation you have build so far. pub fn doit(mut self) -> Result<(hyper::client::Response, Policy)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -1199,7 +1199,7 @@ impl<'a, C, A> ProjectServiceAccountSetIamPolicyCall<'a, C, A> where C: BorrowMu } } if find_this.as_bytes()[1] == '+' as u8 { - replace_with = percent_encode(replace_with.as_bytes(), FORM_URLENCODED_ENCODE_SET); + replace_with = percent_encode(replace_with.as_bytes(), DEFAULT_ENCODE_SET); } url = url.replace(find_this, &replace_with); } @@ -1430,7 +1430,7 @@ impl<'a, C, A> ProjectServiceAccountKeyDeleteCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, Empty)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -1468,7 +1468,7 @@ impl<'a, C, A> ProjectServiceAccountKeyDeleteCall<'a, C, A> where C: BorrowMut ProjectServiceAccountKeyCreateCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, ServiceAccountKey)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -1720,7 +1720,7 @@ impl<'a, C, A> ProjectServiceAccountKeyCreateCall<'a, C, A> where C: BorrowMut ProjectServiceAccountSignBlobCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, SignBlobResponse)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -1996,7 +1996,7 @@ impl<'a, C, A> ProjectServiceAccountSignBlobCall<'a, C, A> where C: BorrowMut ProjectServiceAccountUpdateCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, ServiceAccount)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -2272,7 +2272,7 @@ impl<'a, C, A> ProjectServiceAccountUpdateCall<'a, C, A> where C: BorrowMut ProjectServiceAccountListCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, ListServiceAccountsResponse)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -2551,7 +2551,7 @@ impl<'a, C, A> ProjectServiceAccountListCall<'a, C, A> where C: BorrowMut ProjectServiceAccountDeleteCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, Empty)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -2810,7 +2810,7 @@ impl<'a, C, A> ProjectServiceAccountDeleteCall<'a, C, A> where C: BorrowMut ProjectServiceAccountKeyGetCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, ServiceAccountKey)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -3055,7 +3055,7 @@ impl<'a, C, A> ProjectServiceAccountKeyGetCall<'a, C, A> where C: BorrowMut ProjectServiceAccountGetIamPolicyCall<'a, C, A> where C: BorrowMu /// Perform the operation you have build so far. pub fn doit(mut self) -> Result<(hyper::client::Response, Policy)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -3300,7 +3300,7 @@ impl<'a, C, A> ProjectServiceAccountGetIamPolicyCall<'a, C, A> where C: BorrowMu } } if find_this.as_bytes()[1] == '+' as u8 { - replace_with = percent_encode(replace_with.as_bytes(), FORM_URLENCODED_ENCODE_SET); + replace_with = percent_encode(replace_with.as_bytes(), DEFAULT_ENCODE_SET); } url = url.replace(find_this, &replace_with); } @@ -3514,7 +3514,7 @@ impl<'a, C, A> ProjectServiceAccountTestIamPermissionCall<'a, C, A> where C: Bor /// Perform the operation you have build so far. pub fn doit(mut self) -> Result<(hyper::client::Response, TestIamPermissionsResponse)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -3552,7 +3552,7 @@ impl<'a, C, A> ProjectServiceAccountTestIamPermissionCall<'a, C, A> where C: Bor } } if find_this.as_bytes()[1] == '+' as u8 { - replace_with = percent_encode(replace_with.as_bytes(), FORM_URLENCODED_ENCODE_SET); + replace_with = percent_encode(replace_with.as_bytes(), DEFAULT_ENCODE_SET); } url = url.replace(find_this, &replace_with); } @@ -3790,7 +3790,7 @@ impl<'a, C, A> ProjectServiceAccountCreateCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, ServiceAccount)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -3828,7 +3828,7 @@ impl<'a, C, A> ProjectServiceAccountCreateCall<'a, C, A> where C: BorrowMut ProjectServiceAccountGetCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, ServiceAccount)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -4097,7 +4097,7 @@ impl<'a, C, A> ProjectServiceAccountGetCall<'a, C, A> where C: BorrowMut ProjectSinkListCall<'a, C, A> where C: BorrowMut, /// Perform the operation you have build so far. pub fn doit(mut self) -> Result<(hyper::client::Response, ListSinksResponse)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -1303,7 +1303,7 @@ impl<'a, C, A> ProjectSinkListCall<'a, C, A> where C: BorrowMut, } } if find_this.as_bytes()[1] == '+' as u8 { - replace_with = percent_encode(replace_with.as_bytes(), FORM_URLENCODED_ENCODE_SET); + replace_with = percent_encode(replace_with.as_bytes(), DEFAULT_ENCODE_SET); } url = url.replace(find_this, &replace_with); } @@ -1524,7 +1524,7 @@ impl<'a, C, A> ProjectLogDeleteCall<'a, C, A> where C: BorrowMut, /// Perform the operation you have build so far. pub fn doit(mut self) -> Result<(hyper::client::Response, Empty)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -1562,7 +1562,7 @@ impl<'a, C, A> ProjectLogDeleteCall<'a, C, A> where C: BorrowMut, } } if find_this.as_bytes()[1] == '+' as u8 { - replace_with = percent_encode(replace_with.as_bytes(), FORM_URLENCODED_ENCODE_SET); + replace_with = percent_encode(replace_with.as_bytes(), DEFAULT_ENCODE_SET); } url = url.replace(find_this, &replace_with); } @@ -1769,7 +1769,7 @@ impl<'a, C, A> ProjectSinkGetCall<'a, C, A> where C: BorrowMut, A /// Perform the operation you have build so far. pub fn doit(mut self) -> Result<(hyper::client::Response, LogSink)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -1807,7 +1807,7 @@ impl<'a, C, A> ProjectSinkGetCall<'a, C, A> where C: BorrowMut, A } } if find_this.as_bytes()[1] == '+' as u8 { - replace_with = percent_encode(replace_with.as_bytes(), FORM_URLENCODED_ENCODE_SET); + replace_with = percent_encode(replace_with.as_bytes(), DEFAULT_ENCODE_SET); } url = url.replace(find_this, &replace_with); } @@ -2014,7 +2014,7 @@ impl<'a, C, A> ProjectMetricGetCall<'a, C, A> where C: BorrowMut, /// Perform the operation you have build so far. pub fn doit(mut self) -> Result<(hyper::client::Response, LogMetric)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -2052,7 +2052,7 @@ impl<'a, C, A> ProjectMetricGetCall<'a, C, A> where C: BorrowMut, } } if find_this.as_bytes()[1] == '+' as u8 { - replace_with = percent_encode(replace_with.as_bytes(), FORM_URLENCODED_ENCODE_SET); + replace_with = percent_encode(replace_with.as_bytes(), DEFAULT_ENCODE_SET); } url = url.replace(find_this, &replace_with); } @@ -2266,7 +2266,7 @@ impl<'a, C, A> ProjectSinkUpdateCall<'a, C, A> where C: BorrowMut /// Perform the operation you have build so far. pub fn doit(mut self) -> Result<(hyper::client::Response, LogSink)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -2304,7 +2304,7 @@ impl<'a, C, A> ProjectSinkUpdateCall<'a, C, A> where C: BorrowMut } } if find_this.as_bytes()[1] == '+' as u8 { - replace_with = percent_encode(replace_with.as_bytes(), FORM_URLENCODED_ENCODE_SET); + replace_with = percent_encode(replace_with.as_bytes(), DEFAULT_ENCODE_SET); } url = url.replace(find_this, &replace_with); } @@ -2535,7 +2535,7 @@ impl<'a, C, A> ProjectMetricDeleteCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, Empty)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -2573,7 +2573,7 @@ impl<'a, C, A> ProjectMetricDeleteCall<'a, C, A> where C: BorrowMut ProjectSinkCreateCall<'a, C, A> where C: BorrowMut /// Perform the operation you have build so far. pub fn doit(mut self) -> Result<(hyper::client::Response, LogSink)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -2825,7 +2825,7 @@ impl<'a, C, A> ProjectSinkCreateCall<'a, C, A> where C: BorrowMut } } if find_this.as_bytes()[1] == '+' as u8 { - replace_with = percent_encode(replace_with.as_bytes(), FORM_URLENCODED_ENCODE_SET); + replace_with = percent_encode(replace_with.as_bytes(), DEFAULT_ENCODE_SET); } url = url.replace(find_this, &replace_with); } @@ -3063,7 +3063,7 @@ impl<'a, C, A> ProjectMetricCreateCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, LogMetric)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -3101,7 +3101,7 @@ impl<'a, C, A> ProjectMetricCreateCall<'a, C, A> where C: BorrowMut ProjectSinkDeleteCall<'a, C, A> where C: BorrowMut /// Perform the operation you have build so far. pub fn doit(mut self) -> Result<(hyper::client::Response, Empty)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -3370,7 +3370,7 @@ impl<'a, C, A> ProjectSinkDeleteCall<'a, C, A> where C: BorrowMut } } if find_this.as_bytes()[1] == '+' as u8 { - replace_with = percent_encode(replace_with.as_bytes(), FORM_URLENCODED_ENCODE_SET); + replace_with = percent_encode(replace_with.as_bytes(), DEFAULT_ENCODE_SET); } url = url.replace(find_this, &replace_with); } @@ -3581,7 +3581,7 @@ impl<'a, C, A> ProjectMetricListCall<'a, C, A> where C: BorrowMut /// Perform the operation you have build so far. pub fn doit(mut self) -> Result<(hyper::client::Response, ListLogMetricsResponse)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -3625,7 +3625,7 @@ impl<'a, C, A> ProjectMetricListCall<'a, C, A> where C: BorrowMut } } if find_this.as_bytes()[1] == '+' as u8 { - replace_with = percent_encode(replace_with.as_bytes(), FORM_URLENCODED_ENCODE_SET); + replace_with = percent_encode(replace_with.as_bytes(), DEFAULT_ENCODE_SET); } url = url.replace(find_this, &replace_with); } @@ -3853,7 +3853,7 @@ impl<'a, C, A> ProjectMetricUpdateCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, LogMetric)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -3891,7 +3891,7 @@ impl<'a, C, A> ProjectMetricUpdateCall<'a, C, A> where C: BorrowMut ProjectMetricDescriptorGetCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, MetricDescriptor)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -1162,7 +1162,7 @@ impl<'a, C, A> ProjectMetricDescriptorGetCall<'a, C, A> where C: BorrowMut ProjectGroupCreateCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, Group)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -1419,7 +1419,7 @@ impl<'a, C, A> ProjectGroupCreateCall<'a, C, A> where C: BorrowMut ProjectGroupGetCall<'a, C, A> where C: BorrowMut, /// Perform the operation you have build so far. pub fn doit(mut self) -> Result<(hyper::client::Response, Group)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -1695,7 +1695,7 @@ impl<'a, C, A> ProjectGroupGetCall<'a, C, A> where C: BorrowMut, } } if find_this.as_bytes()[1] == '+' as u8 { - replace_with = percent_encode(replace_with.as_bytes(), FORM_URLENCODED_ENCODE_SET); + replace_with = percent_encode(replace_with.as_bytes(), DEFAULT_ENCODE_SET); } url = url.replace(find_this, &replace_with); } @@ -1902,7 +1902,7 @@ impl<'a, C, A> ProjectMetricDescriptorDeleteCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, Empty)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -1940,7 +1940,7 @@ impl<'a, C, A> ProjectMetricDescriptorDeleteCall<'a, C, A> where C: BorrowMut ProjectCollectdTimeSeryCreateCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, Empty)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -2192,7 +2192,7 @@ impl<'a, C, A> ProjectCollectdTimeSeryCreateCall<'a, C, A> where C: BorrowMut ProjectGroupMemberListCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, ListGroupMembersResponse)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -2486,7 +2486,7 @@ impl<'a, C, A> ProjectGroupMemberListCall<'a, C, A> where C: BorrowMut ProjectMonitoredResourceDescriptorListCall<'a, C, A> where C: Bor /// Perform the operation you have build so far. pub fn doit(mut self) -> Result<(hyper::client::Response, ListMonitoredResourceDescriptorsResponse)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -2781,7 +2781,7 @@ impl<'a, C, A> ProjectMonitoredResourceDescriptorListCall<'a, C, A> where C: Bor } } if find_this.as_bytes()[1] == '+' as u8 { - replace_with = percent_encode(replace_with.as_bytes(), FORM_URLENCODED_ENCODE_SET); + replace_with = percent_encode(replace_with.as_bytes(), DEFAULT_ENCODE_SET); } url = url.replace(find_this, &replace_with); } @@ -3016,7 +3016,7 @@ impl<'a, C, A> ProjectTimeSeryCreateCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, Empty)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -3054,7 +3054,7 @@ impl<'a, C, A> ProjectTimeSeryCreateCall<'a, C, A> where C: BorrowMut ProjectMetricDescriptorCreateCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, MetricDescriptor)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -3330,7 +3330,7 @@ impl<'a, C, A> ProjectMetricDescriptorCreateCall<'a, C, A> where C: BorrowMut ProjectGroupListCall<'a, C, A> where C: BorrowMut, /// Perform the operation you have build so far. pub fn doit(mut self) -> Result<(hyper::client::Response, ListGroupsResponse)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -3624,7 +3624,7 @@ impl<'a, C, A> ProjectGroupListCall<'a, C, A> where C: BorrowMut, } } if find_this.as_bytes()[1] == '+' as u8 { - replace_with = percent_encode(replace_with.as_bytes(), FORM_URLENCODED_ENCODE_SET); + replace_with = percent_encode(replace_with.as_bytes(), DEFAULT_ENCODE_SET); } url = url.replace(find_this, &replace_with); } @@ -3872,7 +3872,7 @@ impl<'a, C, A> ProjectMetricDescriptorListCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, ListMetricDescriptorsResponse)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -3919,7 +3919,7 @@ impl<'a, C, A> ProjectMetricDescriptorListCall<'a, C, A> where C: BorrowMut ProjectMonitoredResourceDescriptorGetCall<'a, C, A> where C: Borr /// Perform the operation you have build so far. pub fn doit(mut self) -> Result<(hyper::client::Response, MonitoredResourceDescriptor)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -4185,7 +4185,7 @@ impl<'a, C, A> ProjectMonitoredResourceDescriptorGetCall<'a, C, A> where C: Borr } } if find_this.as_bytes()[1] == '+' as u8 { - replace_with = percent_encode(replace_with.as_bytes(), FORM_URLENCODED_ENCODE_SET); + replace_with = percent_encode(replace_with.as_bytes(), DEFAULT_ENCODE_SET); } url = url.replace(find_this, &replace_with); } @@ -4401,7 +4401,7 @@ impl<'a, C, A> ProjectGroupUpdateCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, Group)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -4442,7 +4442,7 @@ impl<'a, C, A> ProjectGroupUpdateCall<'a, C, A> where C: BorrowMut ProjectGroupDeleteCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, Empty)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -4718,7 +4718,7 @@ impl<'a, C, A> ProjectGroupDeleteCall<'a, C, A> where C: BorrowMut ProjectTimeSeryListCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, ListTimeSeriesResponse)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -5020,7 +5020,7 @@ impl<'a, C, A> ProjectTimeSeryListCall<'a, C, A> where C: BorrowMut PeopleGetCall<'a, C, A> where C: BorrowMut, A: oau /// Perform the operation you have build so far. pub fn doit(mut self) -> Result<(hyper::client::Response, Person)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -1152,7 +1152,7 @@ impl<'a, C, A> PeopleGetCall<'a, C, A> where C: BorrowMut, A: oau } } if find_this.as_bytes()[1] == '+' as u8 { - replace_with = percent_encode(replace_with.as_bytes(), FORM_URLENCODED_ENCODE_SET); + replace_with = percent_encode(replace_with.as_bytes(), DEFAULT_ENCODE_SET); } url = url.replace(find_this, &replace_with); } @@ -1376,7 +1376,7 @@ impl<'a, C, A> PeopleConnectionListCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, ListConnectionsResponse)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -1429,7 +1429,7 @@ impl<'a, C, A> PeopleConnectionListCall<'a, C, A> where C: BorrowMut BeaconAttachmentListCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, ListBeaconAttachmentsResponse)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -1173,7 +1173,7 @@ impl<'a, C, A> BeaconAttachmentListCall<'a, C, A> where C: BorrowMut BeaconGetCall<'a, C, A> where C: BorrowMut, A: oau /// Perform the operation you have build so far. pub fn doit(mut self) -> Result<(hyper::client::Response, Beacon)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -1437,7 +1437,7 @@ impl<'a, C, A> BeaconGetCall<'a, C, A> where C: BorrowMut, A: oau } } if find_this.as_bytes()[1] == '+' as u8 { - replace_with = percent_encode(replace_with.as_bytes(), FORM_URLENCODED_ENCODE_SET); + replace_with = percent_encode(replace_with.as_bytes(), DEFAULT_ENCODE_SET); } url = url.replace(find_this, &replace_with); } @@ -1662,7 +1662,7 @@ impl<'a, C, A> BeaconAttachmentCreateCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, BeaconAttachment)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -1703,7 +1703,7 @@ impl<'a, C, A> BeaconAttachmentCreateCall<'a, C, A> where C: BorrowMut BeaconDecommissionCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, Empty)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -1984,7 +1984,7 @@ impl<'a, C, A> BeaconDecommissionCall<'a, C, A> where C: BorrowMut BeaconActivateCall<'a, C, A> where C: BorrowMut, A /// Perform the operation you have build so far. pub fn doit(mut self) -> Result<(hyper::client::Response, Empty)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -2241,7 +2241,7 @@ impl<'a, C, A> BeaconActivateCall<'a, C, A> where C: BorrowMut, A } } if find_this.as_bytes()[1] == '+' as u8 { - replace_with = percent_encode(replace_with.as_bytes(), FORM_URLENCODED_ENCODE_SET); + replace_with = percent_encode(replace_with.as_bytes(), DEFAULT_ENCODE_SET); } url = url.replace(find_this, &replace_with); } @@ -2720,7 +2720,7 @@ impl<'a, C, A> BeaconUpdateCall<'a, C, A> where C: BorrowMut, A: /// Perform the operation you have build so far. pub fn doit(mut self) -> Result<(hyper::client::Response, Beacon)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -2761,7 +2761,7 @@ impl<'a, C, A> BeaconUpdateCall<'a, C, A> where C: BorrowMut, A: } } if find_this.as_bytes()[1] == '+' as u8 { - replace_with = percent_encode(replace_with.as_bytes(), FORM_URLENCODED_ENCODE_SET); + replace_with = percent_encode(replace_with.as_bytes(), DEFAULT_ENCODE_SET); } url = url.replace(find_this, &replace_with); } @@ -3001,7 +3001,7 @@ impl<'a, C, A> BeaconAttachmentDeleteCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, Empty)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -3042,7 +3042,7 @@ impl<'a, C, A> BeaconAttachmentDeleteCall<'a, C, A> where C: BorrowMut BeaconDeactivateCall<'a, C, A> where C: BorrowMut, /// Perform the operation you have build so far. pub fn doit(mut self) -> Result<(hyper::client::Response, Empty)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -3299,7 +3299,7 @@ impl<'a, C, A> BeaconDeactivateCall<'a, C, A> where C: BorrowMut, } } if find_this.as_bytes()[1] == '+' as u8 { - replace_with = percent_encode(replace_with.as_bytes(), FORM_URLENCODED_ENCODE_SET); + replace_with = percent_encode(replace_with.as_bytes(), DEFAULT_ENCODE_SET); } url = url.replace(find_this, &replace_with); } @@ -3772,7 +3772,7 @@ impl<'a, C, A> BeaconDiagnosticListCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, ListDiagnosticsResponse)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -3822,7 +3822,7 @@ impl<'a, C, A> BeaconDiagnosticListCall<'a, C, A> where C: BorrowMut BeaconAttachmentBatchDeleteCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, DeleteAttachmentsResponse)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -4105,7 +4105,7 @@ impl<'a, C, A> BeaconAttachmentBatchDeleteCall<'a, C, A> where C: BorrowMut NamespaceUpdateCall<'a, C, A> where C: BorrowMut, /// Perform the operation you have build so far. pub fn doit(mut self) -> Result<(hyper::client::Response, Namespace)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -5021,7 +5021,7 @@ impl<'a, C, A> NamespaceUpdateCall<'a, C, A> where C: BorrowMut, } } if find_this.as_bytes()[1] == '+' as u8 { - replace_with = percent_encode(replace_with.as_bytes(), FORM_URLENCODED_ENCODE_SET); + replace_with = percent_encode(replace_with.as_bytes(), DEFAULT_ENCODE_SET); } url = url.replace(find_this, &replace_with); } diff --git a/gen/pubsub1/src/lib.rs.in b/gen/pubsub1/src/lib.rs.in index 279abf5eed..4fe7ddba2d 100644 --- a/gen/pubsub1/src/lib.rs.in +++ b/gen/pubsub1/src/lib.rs.in @@ -1049,7 +1049,7 @@ impl<'a, C, A> ProjectTopicListCall<'a, C, A> where C: BorrowMut, /// Perform the operation you have build so far. pub fn doit(mut self) -> Result<(hyper::client::Response, ListTopicsResponse)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -1093,7 +1093,7 @@ impl<'a, C, A> ProjectTopicListCall<'a, C, A> where C: BorrowMut, } } if find_this.as_bytes()[1] == '+' as u8 { - replace_with = percent_encode(replace_with.as_bytes(), FORM_URLENCODED_ENCODE_SET); + replace_with = percent_encode(replace_with.as_bytes(), DEFAULT_ENCODE_SET); } url = url.replace(find_this, &replace_with); } @@ -1321,7 +1321,7 @@ impl<'a, C, A> ProjectSubscriptionPullCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, PullResponse)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -1359,7 +1359,7 @@ impl<'a, C, A> ProjectSubscriptionPullCall<'a, C, A> where C: BorrowMut ProjectTopicCreateCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, Topic)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -1635,7 +1635,7 @@ impl<'a, C, A> ProjectTopicCreateCall<'a, C, A> where C: BorrowMut ProjectTopicTestIamPermissionCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, TestIamPermissionsResponse)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -1911,7 +1911,7 @@ impl<'a, C, A> ProjectTopicTestIamPermissionCall<'a, C, A> where C: BorrowMut ProjectSubscriptionModifyPushConfigCall<'a, C, A> where C: Borrow /// Perform the operation you have build so far. pub fn doit(mut self) -> Result<(hyper::client::Response, Empty)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -2187,7 +2187,7 @@ impl<'a, C, A> ProjectSubscriptionModifyPushConfigCall<'a, C, A> where C: Borrow } } if find_this.as_bytes()[1] == '+' as u8 { - replace_with = percent_encode(replace_with.as_bytes(), FORM_URLENCODED_ENCODE_SET); + replace_with = percent_encode(replace_with.as_bytes(), DEFAULT_ENCODE_SET); } url = url.replace(find_this, &replace_with); } @@ -2425,7 +2425,7 @@ impl<'a, C, A> ProjectTopicPublishCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, PublishResponse)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -2463,7 +2463,7 @@ impl<'a, C, A> ProjectTopicPublishCall<'a, C, A> where C: BorrowMut ProjectTopicGetCall<'a, C, A> where C: BorrowMut, /// Perform the operation you have build so far. pub fn doit(mut self) -> Result<(hyper::client::Response, Topic)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -2732,7 +2732,7 @@ impl<'a, C, A> ProjectTopicGetCall<'a, C, A> where C: BorrowMut, } } if find_this.as_bytes()[1] == '+' as u8 { - replace_with = percent_encode(replace_with.as_bytes(), FORM_URLENCODED_ENCODE_SET); + replace_with = percent_encode(replace_with.as_bytes(), DEFAULT_ENCODE_SET); } url = url.replace(find_this, &replace_with); } @@ -2939,7 +2939,7 @@ impl<'a, C, A> ProjectTopicGetIamPolicyCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, Policy)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -2977,7 +2977,7 @@ impl<'a, C, A> ProjectTopicGetIamPolicyCall<'a, C, A> where C: BorrowMut ProjectSubscriptionModifyAckDeadlineCall<'a, C, A> where C: Borro /// Perform the operation you have build so far. pub fn doit(mut self) -> Result<(hyper::client::Response, Empty)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -3229,7 +3229,7 @@ impl<'a, C, A> ProjectSubscriptionModifyAckDeadlineCall<'a, C, A> where C: Borro } } if find_this.as_bytes()[1] == '+' as u8 { - replace_with = percent_encode(replace_with.as_bytes(), FORM_URLENCODED_ENCODE_SET); + replace_with = percent_encode(replace_with.as_bytes(), DEFAULT_ENCODE_SET); } url = url.replace(find_this, &replace_with); } @@ -3460,7 +3460,7 @@ impl<'a, C, A> ProjectSubscriptionDeleteCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, Empty)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -3498,7 +3498,7 @@ impl<'a, C, A> ProjectSubscriptionDeleteCall<'a, C, A> where C: BorrowMut ProjectTopicSetIamPolicyCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, Policy)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -3750,7 +3750,7 @@ impl<'a, C, A> ProjectTopicSetIamPolicyCall<'a, C, A> where C: BorrowMut ProjectSubscriptionCreateCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, Subscription)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -4026,7 +4026,7 @@ impl<'a, C, A> ProjectSubscriptionCreateCall<'a, C, A> where C: BorrowMut ProjectSubscriptionAcknowledgeCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, Empty)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -4302,7 +4302,7 @@ impl<'a, C, A> ProjectSubscriptionAcknowledgeCall<'a, C, A> where C: BorrowMut ProjectSubscriptionGetIamPolicyCall<'a, C, A> where C: BorrowMut< /// Perform the operation you have build so far. pub fn doit(mut self) -> Result<(hyper::client::Response, Policy)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -4571,7 +4571,7 @@ impl<'a, C, A> ProjectSubscriptionGetIamPolicyCall<'a, C, A> where C: BorrowMut< } } if find_this.as_bytes()[1] == '+' as u8 { - replace_with = percent_encode(replace_with.as_bytes(), FORM_URLENCODED_ENCODE_SET); + replace_with = percent_encode(replace_with.as_bytes(), DEFAULT_ENCODE_SET); } url = url.replace(find_this, &replace_with); } @@ -4785,7 +4785,7 @@ impl<'a, C, A> ProjectSubscriptionTestIamPermissionCall<'a, C, A> where C: Borro /// Perform the operation you have build so far. pub fn doit(mut self) -> Result<(hyper::client::Response, TestIamPermissionsResponse)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -4823,7 +4823,7 @@ impl<'a, C, A> ProjectSubscriptionTestIamPermissionCall<'a, C, A> where C: Borro } } if find_this.as_bytes()[1] == '+' as u8 { - replace_with = percent_encode(replace_with.as_bytes(), FORM_URLENCODED_ENCODE_SET); + replace_with = percent_encode(replace_with.as_bytes(), DEFAULT_ENCODE_SET); } url = url.replace(find_this, &replace_with); } @@ -5054,7 +5054,7 @@ impl<'a, C, A> ProjectTopicDeleteCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, Empty)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -5092,7 +5092,7 @@ impl<'a, C, A> ProjectTopicDeleteCall<'a, C, A> where C: BorrowMut ProjectSubscriptionGetCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, Subscription)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -5337,7 +5337,7 @@ impl<'a, C, A> ProjectSubscriptionGetCall<'a, C, A> where C: BorrowMut ProjectTopicSubscriptionListCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, ListTopicSubscriptionsResponse)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -5592,7 +5592,7 @@ impl<'a, C, A> ProjectTopicSubscriptionListCall<'a, C, A> where C: BorrowMut ProjectSubscriptionListCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, ListSubscriptionsResponse)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -5861,7 +5861,7 @@ impl<'a, C, A> ProjectSubscriptionListCall<'a, C, A> where C: BorrowMut ProjectSubscriptionSetIamPolicyCall<'a, C, A> where C: BorrowMut< /// Perform the operation you have build so far. pub fn doit(mut self) -> Result<(hyper::client::Response, Policy)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -6127,7 +6127,7 @@ impl<'a, C, A> ProjectSubscriptionSetIamPolicyCall<'a, C, A> where C: BorrowMut< } } if find_this.as_bytes()[1] == '+' as u8 { - replace_with = percent_encode(replace_with.as_bytes(), FORM_URLENCODED_ENCODE_SET); + replace_with = percent_encode(replace_with.as_bytes(), DEFAULT_ENCODE_SET); } url = url.replace(find_this, &replace_with); } diff --git a/gen/pubsub1_beta2/src/lib.rs.in b/gen/pubsub1_beta2/src/lib.rs.in index e7de9a4ba5..4d2ffe8776 100644 --- a/gen/pubsub1_beta2/src/lib.rs.in +++ b/gen/pubsub1_beta2/src/lib.rs.in @@ -1052,7 +1052,7 @@ impl<'a, C, A> ProjectTopicListCall<'a, C, A> where C: BorrowMut, /// Perform the operation you have build so far. pub fn doit(mut self) -> Result<(hyper::client::Response, ListTopicsResponse)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -1096,7 +1096,7 @@ impl<'a, C, A> ProjectTopicListCall<'a, C, A> where C: BorrowMut, } } if find_this.as_bytes()[1] == '+' as u8 { - replace_with = percent_encode(replace_with.as_bytes(), FORM_URLENCODED_ENCODE_SET); + replace_with = percent_encode(replace_with.as_bytes(), DEFAULT_ENCODE_SET); } url = url.replace(find_this, &replace_with); } @@ -1324,7 +1324,7 @@ impl<'a, C, A> ProjectSubscriptionPullCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, PullResponse)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -1362,7 +1362,7 @@ impl<'a, C, A> ProjectSubscriptionPullCall<'a, C, A> where C: BorrowMut ProjectTopicCreateCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, Topic)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -1638,7 +1638,7 @@ impl<'a, C, A> ProjectTopicCreateCall<'a, C, A> where C: BorrowMut ProjectTopicTestIamPermissionCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, TestIamPermissionsResponse)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -1914,7 +1914,7 @@ impl<'a, C, A> ProjectTopicTestIamPermissionCall<'a, C, A> where C: BorrowMut ProjectSubscriptionModifyPushConfigCall<'a, C, A> where C: Borrow /// Perform the operation you have build so far. pub fn doit(mut self) -> Result<(hyper::client::Response, Empty)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -2190,7 +2190,7 @@ impl<'a, C, A> ProjectSubscriptionModifyPushConfigCall<'a, C, A> where C: Borrow } } if find_this.as_bytes()[1] == '+' as u8 { - replace_with = percent_encode(replace_with.as_bytes(), FORM_URLENCODED_ENCODE_SET); + replace_with = percent_encode(replace_with.as_bytes(), DEFAULT_ENCODE_SET); } url = url.replace(find_this, &replace_with); } @@ -2428,7 +2428,7 @@ impl<'a, C, A> ProjectTopicPublishCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, PublishResponse)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -2466,7 +2466,7 @@ impl<'a, C, A> ProjectTopicPublishCall<'a, C, A> where C: BorrowMut ProjectTopicGetCall<'a, C, A> where C: BorrowMut, /// Perform the operation you have build so far. pub fn doit(mut self) -> Result<(hyper::client::Response, Topic)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -2735,7 +2735,7 @@ impl<'a, C, A> ProjectTopicGetCall<'a, C, A> where C: BorrowMut, } } if find_this.as_bytes()[1] == '+' as u8 { - replace_with = percent_encode(replace_with.as_bytes(), FORM_URLENCODED_ENCODE_SET); + replace_with = percent_encode(replace_with.as_bytes(), DEFAULT_ENCODE_SET); } url = url.replace(find_this, &replace_with); } @@ -2942,7 +2942,7 @@ impl<'a, C, A> ProjectTopicGetIamPolicyCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, Policy)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -2980,7 +2980,7 @@ impl<'a, C, A> ProjectTopicGetIamPolicyCall<'a, C, A> where C: BorrowMut ProjectSubscriptionModifyAckDeadlineCall<'a, C, A> where C: Borro /// Perform the operation you have build so far. pub fn doit(mut self) -> Result<(hyper::client::Response, Empty)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -3232,7 +3232,7 @@ impl<'a, C, A> ProjectSubscriptionModifyAckDeadlineCall<'a, C, A> where C: Borro } } if find_this.as_bytes()[1] == '+' as u8 { - replace_with = percent_encode(replace_with.as_bytes(), FORM_URLENCODED_ENCODE_SET); + replace_with = percent_encode(replace_with.as_bytes(), DEFAULT_ENCODE_SET); } url = url.replace(find_this, &replace_with); } @@ -3463,7 +3463,7 @@ impl<'a, C, A> ProjectSubscriptionDeleteCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, Empty)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -3501,7 +3501,7 @@ impl<'a, C, A> ProjectSubscriptionDeleteCall<'a, C, A> where C: BorrowMut ProjectTopicSetIamPolicyCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, Policy)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -3753,7 +3753,7 @@ impl<'a, C, A> ProjectTopicSetIamPolicyCall<'a, C, A> where C: BorrowMut ProjectSubscriptionCreateCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, Subscription)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -4029,7 +4029,7 @@ impl<'a, C, A> ProjectSubscriptionCreateCall<'a, C, A> where C: BorrowMut ProjectSubscriptionAcknowledgeCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, Empty)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -4305,7 +4305,7 @@ impl<'a, C, A> ProjectSubscriptionAcknowledgeCall<'a, C, A> where C: BorrowMut ProjectSubscriptionGetIamPolicyCall<'a, C, A> where C: BorrowMut< /// Perform the operation you have build so far. pub fn doit(mut self) -> Result<(hyper::client::Response, Policy)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -4574,7 +4574,7 @@ impl<'a, C, A> ProjectSubscriptionGetIamPolicyCall<'a, C, A> where C: BorrowMut< } } if find_this.as_bytes()[1] == '+' as u8 { - replace_with = percent_encode(replace_with.as_bytes(), FORM_URLENCODED_ENCODE_SET); + replace_with = percent_encode(replace_with.as_bytes(), DEFAULT_ENCODE_SET); } url = url.replace(find_this, &replace_with); } @@ -4788,7 +4788,7 @@ impl<'a, C, A> ProjectSubscriptionTestIamPermissionCall<'a, C, A> where C: Borro /// Perform the operation you have build so far. pub fn doit(mut self) -> Result<(hyper::client::Response, TestIamPermissionsResponse)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -4826,7 +4826,7 @@ impl<'a, C, A> ProjectSubscriptionTestIamPermissionCall<'a, C, A> where C: Borro } } if find_this.as_bytes()[1] == '+' as u8 { - replace_with = percent_encode(replace_with.as_bytes(), FORM_URLENCODED_ENCODE_SET); + replace_with = percent_encode(replace_with.as_bytes(), DEFAULT_ENCODE_SET); } url = url.replace(find_this, &replace_with); } @@ -5057,7 +5057,7 @@ impl<'a, C, A> ProjectTopicDeleteCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, Empty)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -5095,7 +5095,7 @@ impl<'a, C, A> ProjectTopicDeleteCall<'a, C, A> where C: BorrowMut ProjectSubscriptionGetCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, Subscription)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -5340,7 +5340,7 @@ impl<'a, C, A> ProjectSubscriptionGetCall<'a, C, A> where C: BorrowMut ProjectTopicSubscriptionListCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, ListTopicSubscriptionsResponse)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -5595,7 +5595,7 @@ impl<'a, C, A> ProjectTopicSubscriptionListCall<'a, C, A> where C: BorrowMut ProjectSubscriptionListCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, ListSubscriptionsResponse)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -5864,7 +5864,7 @@ impl<'a, C, A> ProjectSubscriptionListCall<'a, C, A> where C: BorrowMut ProjectSubscriptionSetIamPolicyCall<'a, C, A> where C: BorrowMut< /// Perform the operation you have build so far. pub fn doit(mut self) -> Result<(hyper::client::Response, Policy)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -6130,7 +6130,7 @@ impl<'a, C, A> ProjectSubscriptionSetIamPolicyCall<'a, C, A> where C: BorrowMut< } } if find_this.as_bytes()[1] == '+' as u8 { - replace_with = percent_encode(replace_with.as_bytes(), FORM_URLENCODED_ENCODE_SET); + replace_with = percent_encode(replace_with.as_bytes(), DEFAULT_ENCODE_SET); } url = url.replace(find_this, &replace_with); } diff --git a/gen/storagetransfer1/src/lib.rs.in b/gen/storagetransfer1/src/lib.rs.in index 121036a93d..4aef135d9c 100644 --- a/gen/storagetransfer1/src/lib.rs.in +++ b/gen/storagetransfer1/src/lib.rs.in @@ -1153,7 +1153,7 @@ impl<'a, C, A> TransferOperationPauseCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, Empty)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -1191,7 +1191,7 @@ impl<'a, C, A> TransferOperationPauseCall<'a, C, A> where C: BorrowMut TransferOperationResumeCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, Empty)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -1467,7 +1467,7 @@ impl<'a, C, A> TransferOperationResumeCall<'a, C, A> where C: BorrowMut TransferOperationGetCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, Operation)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -1736,7 +1736,7 @@ impl<'a, C, A> TransferOperationGetCall<'a, C, A> where C: BorrowMut TransferOperationDeleteCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, Empty)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -1981,7 +1981,7 @@ impl<'a, C, A> TransferOperationDeleteCall<'a, C, A> where C: BorrowMut TransferOperationListCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, ListOperationsResponse)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -2241,7 +2241,7 @@ impl<'a, C, A> TransferOperationListCall<'a, C, A> where C: BorrowMut TransferOperationCancelCall<'a, C, A> where C: BorrowMut Result<(hyper::client::Response, Empty)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -2507,7 +2507,7 @@ impl<'a, C, A> TransferOperationCancelCall<'a, C, A> where C: BorrowMut TransferJobPatchCall<'a, C, A> where C: BorrowMut, /// Perform the operation you have build so far. pub fn doit(mut self) -> Result<(hyper::client::Response, TransferJob)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -3244,7 +3244,7 @@ impl<'a, C, A> TransferJobPatchCall<'a, C, A> where C: BorrowMut, } } if find_this.as_bytes()[1] == '+' as u8 { - replace_with = percent_encode(replace_with.as_bytes(), FORM_URLENCODED_ENCODE_SET); + replace_with = percent_encode(replace_with.as_bytes(), DEFAULT_ENCODE_SET); } url = url.replace(find_this, &replace_with); } @@ -3716,7 +3716,7 @@ impl<'a, C, A> TransferJobGetCall<'a, C, A> where C: BorrowMut, A /// Perform the operation you have build so far. pub fn doit(mut self) -> Result<(hyper::client::Response, TransferJob)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -3757,7 +3757,7 @@ impl<'a, C, A> TransferJobGetCall<'a, C, A> where C: BorrowMut, A } } if find_this.as_bytes()[1] == '+' as u8 { - replace_with = percent_encode(replace_with.as_bytes(), FORM_URLENCODED_ENCODE_SET); + replace_with = percent_encode(replace_with.as_bytes(), DEFAULT_ENCODE_SET); } url = url.replace(find_this, &replace_with); } diff --git a/gen/youtubereporting1/src/lib.rs.in b/gen/youtubereporting1/src/lib.rs.in index 4deba8bf87..6e94879e97 100644 --- a/gen/youtubereporting1/src/lib.rs.in +++ b/gen/youtubereporting1/src/lib.rs.in @@ -697,7 +697,7 @@ impl<'a, C, A> MediaDownloadCall<'a, C, A> where C: BorrowMut, A: /// Perform the operation you have build so far. pub fn doit(mut self) -> Result<(hyper::client::Response, Media)> { - use url::percent_encoding::{percent_encode, FORM_URLENCODED_ENCODE_SET}; + use url::percent_encoding::{percent_encode, DEFAULT_ENCODE_SET}; use std::io::{Read, Seek}; use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location}; let mut dd = DefaultDelegate; @@ -751,7 +751,7 @@ impl<'a, C, A> MediaDownloadCall<'a, C, A> where C: BorrowMut, A: } } if find_this.as_bytes()[1] == '+' as u8 { - replace_with = percent_encode(replace_with.as_bytes(), FORM_URLENCODED_ENCODE_SET); + replace_with = percent_encode(replace_with.as_bytes(), DEFAULT_ENCODE_SET); } url = url.replace(find_this, &replace_with); }