Skip to content

Commit

Permalink
Clippy + fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
augustuswm committed May 24, 2024
1 parent 3cefbeb commit aab1a8b
Show file tree
Hide file tree
Showing 461 changed files with 31,305 additions and 36,008 deletions.
56 changes: 28 additions & 28 deletions docusign/src/account_brands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ impl AccountBrands {
let url = self.client.url(
&format!(
"/v2.1/accounts/{}/brands?{}",
crate::progenitor_support::encode_path(&account_id.to_string()),
crate::progenitor_support::encode_path(account_id),
query_
),
None,
Expand Down Expand Up @@ -86,7 +86,7 @@ impl AccountBrands {
let url = self.client.url(
&format!(
"/v2.1/accounts/{}/brands",
crate::progenitor_support::encode_path(&account_id.to_string()),
crate::progenitor_support::encode_path(account_id),
),
None,
);
Expand Down Expand Up @@ -121,7 +121,7 @@ impl AccountBrands {
let url = self.client.url(
&format!(
"/v2.1/accounts/{}/brands",
crate::progenitor_support::encode_path(&account_id.to_string()),
crate::progenitor_support::encode_path(account_id),
),
None,
);
Expand Down Expand Up @@ -172,8 +172,8 @@ impl AccountBrands {
let url = self.client.url(
&format!(
"/v2.1/accounts/{}/brands/{}?{}",
crate::progenitor_support::encode_path(&account_id.to_string()),
crate::progenitor_support::encode_path(&brand_id.to_string()),
crate::progenitor_support::encode_path(account_id),
crate::progenitor_support::encode_path(brand_id),
query_
),
None,
Expand Down Expand Up @@ -211,8 +211,8 @@ impl AccountBrands {
let url = self.client.url(
&format!(
"/v2.1/accounts/{}/brands/{}",
crate::progenitor_support::encode_path(&account_id.to_string()),
crate::progenitor_support::encode_path(&brand_id.to_string()),
crate::progenitor_support::encode_path(account_id),
crate::progenitor_support::encode_path(brand_id),
),
None,
);
Expand Down Expand Up @@ -248,8 +248,8 @@ impl AccountBrands {
let url = self.client.url(
&format!(
"/v2.1/accounts/{}/brands/{}",
crate::progenitor_support::encode_path(&account_id.to_string()),
crate::progenitor_support::encode_path(&brand_id.to_string()),
crate::progenitor_support::encode_path(account_id),
crate::progenitor_support::encode_path(brand_id),
),
None,
);
Expand Down Expand Up @@ -285,8 +285,8 @@ impl AccountBrands {
let url = self.client.url(
&format!(
"/v2.1/accounts/{}/brands/{}/file",
crate::progenitor_support::encode_path(&account_id.to_string()),
crate::progenitor_support::encode_path(&brand_id.to_string()),
crate::progenitor_support::encode_path(account_id),
crate::progenitor_support::encode_path(brand_id),
),
None,
);
Expand Down Expand Up @@ -324,9 +324,9 @@ impl AccountBrands {
let url = self.client.url(
&format!(
"/v2.1/accounts/{}/brands/{}/logos/{}",
crate::progenitor_support::encode_path(&account_id.to_string()),
crate::progenitor_support::encode_path(&brand_id.to_string()),
crate::progenitor_support::encode_path(&logo_type.to_string()),
crate::progenitor_support::encode_path(account_id),
crate::progenitor_support::encode_path(brand_id),
crate::progenitor_support::encode_path(logo_type),
),
None,
);
Expand Down Expand Up @@ -369,9 +369,9 @@ impl AccountBrands {
let url = self.client.url(
&format!(
"/v2.1/accounts/{}/brands/{}/logos/{}",
crate::progenitor_support::encode_path(&account_id.to_string()),
crate::progenitor_support::encode_path(&brand_id.to_string()),
crate::progenitor_support::encode_path(&logo_type.to_string()),
crate::progenitor_support::encode_path(account_id),
crate::progenitor_support::encode_path(brand_id),
crate::progenitor_support::encode_path(logo_type),
),
None,
);
Expand Down Expand Up @@ -409,9 +409,9 @@ impl AccountBrands {
let url = self.client.url(
&format!(
"/v2.1/accounts/{}/brands/{}/logos/{}",
crate::progenitor_support::encode_path(&account_id.to_string()),
crate::progenitor_support::encode_path(&brand_id.to_string()),
crate::progenitor_support::encode_path(&logo_type.to_string()),
crate::progenitor_support::encode_path(account_id),
crate::progenitor_support::encode_path(brand_id),
crate::progenitor_support::encode_path(logo_type),
),
None,
);
Expand Down Expand Up @@ -447,8 +447,8 @@ impl AccountBrands {
let url = self.client.url(
&format!(
"/v2.1/accounts/{}/brands/{}/resources",
crate::progenitor_support::encode_path(&account_id.to_string()),
crate::progenitor_support::encode_path(&brand_id.to_string()),
crate::progenitor_support::encode_path(account_id),
crate::progenitor_support::encode_path(brand_id),
),
None,
);
Expand Down Expand Up @@ -507,9 +507,9 @@ impl AccountBrands {
let url = self.client.url(
&format!(
"/v2.1/accounts/{}/brands/{}/resources/{}?{}",
crate::progenitor_support::encode_path(&account_id.to_string()),
crate::progenitor_support::encode_path(&brand_id.to_string()),
crate::progenitor_support::encode_path(&resource_content_type.to_string()),
crate::progenitor_support::encode_path(account_id),
crate::progenitor_support::encode_path(brand_id),
crate::progenitor_support::encode_path(resource_content_type),
query_
),
None,
Expand Down Expand Up @@ -561,9 +561,9 @@ impl AccountBrands {
let url = self.client.url(
&format!(
"/v2.1/accounts/{}/brands/{}/resources/{}",
crate::progenitor_support::encode_path(&account_id.to_string()),
crate::progenitor_support::encode_path(&brand_id.to_string()),
crate::progenitor_support::encode_path(&resource_content_type.to_string()),
crate::progenitor_support::encode_path(account_id),
crate::progenitor_support::encode_path(brand_id),
crate::progenitor_support::encode_path(resource_content_type),
),
None,
);
Expand Down
10 changes: 5 additions & 5 deletions docusign/src/account_consumer_disclosures.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ impl AccountConsumerDisclosures {
let url = self.client.url(
&format!(
"/v2.1/accounts/{}/consumer_disclosure?{}",
crate::progenitor_support::encode_path(&account_id.to_string()),
crate::progenitor_support::encode_path(account_id),
query_
),
None,
Expand Down Expand Up @@ -171,8 +171,8 @@ impl AccountConsumerDisclosures {
let url = self.client.url(
&format!(
"/v2.1/accounts/{}/consumer_disclosure/{}",
crate::progenitor_support::encode_path(&account_id.to_string()),
crate::progenitor_support::encode_path(&lang_code.to_string()),
crate::progenitor_support::encode_path(account_id),
crate::progenitor_support::encode_path(lang_code),
),
None,
);
Expand Down Expand Up @@ -309,8 +309,8 @@ impl AccountConsumerDisclosures {
let url = self.client.url(
&format!(
"/v2.1/accounts/{}/consumer_disclosure/{}?{}",
crate::progenitor_support::encode_path(&account_id.to_string()),
crate::progenitor_support::encode_path(&lang_code.to_string()),
crate::progenitor_support::encode_path(account_id),
crate::progenitor_support::encode_path(lang_code),
query_
),
None,
Expand Down
12 changes: 6 additions & 6 deletions docusign/src/account_custom_fields.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ impl AccountCustomFields {
let url = self.client.url(
&format!(
"/v2.1/accounts/{}/custom_fields",
crate::progenitor_support::encode_path(&account_id.to_string()),
crate::progenitor_support::encode_path(account_id),
),
None,
);
Expand Down Expand Up @@ -72,7 +72,7 @@ impl AccountCustomFields {
let url = self.client.url(
&format!(
"/v2.1/accounts/{}/custom_fields?{}",
crate::progenitor_support::encode_path(&account_id.to_string()),
crate::progenitor_support::encode_path(account_id),
query_
),
None,
Expand Down Expand Up @@ -118,8 +118,8 @@ impl AccountCustomFields {
let url = self.client.url(
&format!(
"/v2.1/accounts/{}/custom_fields/{}?{}",
crate::progenitor_support::encode_path(&account_id.to_string()),
crate::progenitor_support::encode_path(&custom_field_id.to_string()),
crate::progenitor_support::encode_path(account_id),
crate::progenitor_support::encode_path(custom_field_id),
query_
),
None,
Expand Down Expand Up @@ -164,8 +164,8 @@ impl AccountCustomFields {
let url = self.client.url(
&format!(
"/v2.1/accounts/{}/custom_fields/{}?{}",
crate::progenitor_support::encode_path(&account_id.to_string()),
crate::progenitor_support::encode_path(&custom_field_id.to_string()),
crate::progenitor_support::encode_path(account_id),
crate::progenitor_support::encode_path(custom_field_id),
query_
),
None,
Expand Down
8 changes: 3 additions & 5 deletions docusign/src/account_password_rules.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ impl AccountPasswordRules {
let url = self.client.url(
&format!(
"/v2.1/accounts/{}/settings/password_rules",
crate::progenitor_support::encode_path(&account_id.to_string()),
crate::progenitor_support::encode_path(account_id),
),
None,
);
Expand Down Expand Up @@ -64,7 +64,7 @@ impl AccountPasswordRules {
let url = self.client.url(
&format!(
"/v2.1/accounts/{}/settings/password_rules",
crate::progenitor_support::encode_path(&account_id.to_string()),
crate::progenitor_support::encode_path(account_id),
),
None,
);
Expand All @@ -88,9 +88,7 @@ impl AccountPasswordRules {
pub async fn password_rules_get(
&self,
) -> ClientResult<crate::Response<crate::types::UserPasswordRules>> {
let url = self
.client
.url(&"/v2.1/current_user/password_rules".to_string(), None);
let url = self.client.url("/v2.1/current_user/password_rules", None);
self.client
.get(
&url,
Expand Down
16 changes: 8 additions & 8 deletions docusign/src/account_permission_profiles.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ impl AccountPermissionProfiles {
let url = self.client.url(
&format!(
"/v2.1/accounts/{}/permission_profiles?{}",
crate::progenitor_support::encode_path(&account_id.to_string()),
crate::progenitor_support::encode_path(account_id),
query_
),
None,
Expand Down Expand Up @@ -85,7 +85,7 @@ impl AccountPermissionProfiles {
let url = self.client.url(
&format!(
"/v2.1/accounts/{}/permission_profiles?{}",
crate::progenitor_support::encode_path(&account_id.to_string()),
crate::progenitor_support::encode_path(account_id),
query_
),
None,
Expand Down Expand Up @@ -133,8 +133,8 @@ impl AccountPermissionProfiles {
let url = self.client.url(
&format!(
"/v2.1/accounts/{}/permission_profiles/{}?{}",
crate::progenitor_support::encode_path(&account_id.to_string()),
crate::progenitor_support::encode_path(&permission_profile_id.to_string()),
crate::progenitor_support::encode_path(account_id),
crate::progenitor_support::encode_path(permission_profile_id),
query_
),
None,
Expand Down Expand Up @@ -183,8 +183,8 @@ impl AccountPermissionProfiles {
let url = self.client.url(
&format!(
"/v2.1/accounts/{}/permission_profiles/{}?{}",
crate::progenitor_support::encode_path(&account_id.to_string()),
crate::progenitor_support::encode_path(&permission_profile_id.to_string()),
crate::progenitor_support::encode_path(account_id),
crate::progenitor_support::encode_path(permission_profile_id),
query_
),
None,
Expand Down Expand Up @@ -234,8 +234,8 @@ impl AccountPermissionProfiles {
let url = self.client.url(
&format!(
"/v2.1/accounts/{}/permission_profiles/{}?{}",
crate::progenitor_support::encode_path(&account_id.to_string()),
crate::progenitor_support::encode_path(&permission_profile_id.to_string()),
crate::progenitor_support::encode_path(account_id),
crate::progenitor_support::encode_path(permission_profile_id),
query_
),
None,
Expand Down
2 changes: 1 addition & 1 deletion docusign/src/account_seal_providers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ impl AccountSealProviders {
let url = self.client.url(
&format!(
"/v2.1/accounts/{}/seals",
crate::progenitor_support::encode_path(&account_id.to_string()),
crate::progenitor_support::encode_path(account_id),
),
None,
);
Expand Down
2 changes: 1 addition & 1 deletion docusign/src/account_signature_providers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ impl AccountSignatureProviders {
let url = self.client.url(
&format!(
"/v2.1/accounts/{}/signatureProviders",
crate::progenitor_support::encode_path(&account_id.to_string()),
crate::progenitor_support::encode_path(account_id),
),
None,
);
Expand Down
Loading

0 comments on commit aab1a8b

Please sign in to comment.