Issue:
chore: address Rust 1.83.0 clippy lints

### Description

Address the clippy lints stabilized / enabled in Rust version 1.83.0.

See #3391 for more information.

Resolution:
<think>
PR Context:
- Title: chore: address Rust 1.83.0 clippy lints and enable more clippy lints
- Merged: 2024-12-02T14:57:14Z
- Files changed: 30 files
- Commits: 5 commits

Implementation approach:
## Type of Change
<!-- Put an `x` in the boxes that apply -->

- [ ] Bugfix
- [ ] New feature
- [ ] Enhancement
- [x] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD

## Description
<!-- Describe your changes in detail -->

This PR addresses clippy lints stabilized / enabled in Rust 1.83.0. The major warnings being thrown due to the version bump were [`empty_line_after_doc_comments`](https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc
</think>

To implement this, you'll need to modify:


**Detailed Implementation:**


**Commit 1:** chore: address Rust 1.83.0 clippy lints and enable more clippy lints (#6705)
Files to modify:


**crates/api_models/src/admin.rs**
  Modify existing code

**crates/api_models/src/analytics.rs**
  Modify existing code

**crates/api_models/src/api_keys.rs**
  Remove:
    - impl: impl serde::de::Visitor<'de> for NeverVisitor
  Add:
    - impl: impl serde::de::Visitor<'_> for NeverVisitor

**crates/api_models/src/conditional_configs.rs**
  Modify existing code

**crates/api_models/src/enums.rs**
  Modify existing code

**crates/api_models/src/payments.rs**
  Modify existing code

**crates/api_models/src/pm_auth.rs**
  Modify existing code

**crates/api_models/src/routing.rs**
  Modify existing code

**crates/api_models/src/user/sample_data.rs**
  Modify existing code

**crates/cards/src/validate.rs**
  Modify existing code

**crates/common_enums/src/transformers.rs**
  Modify existing code

**crates/common_utils/src/crypto.rs**
  Modify existing code

**crates/common_utils/src/custom_serde.rs**
  Modify existing code

**crates/common_utils/src/errors.rs**
  Modify existing code

**crates/common_utils/src/ext_traits.rs**
  Modify existing code

**crates/common_utils/src/pii.rs**
  Modify existing code

**crates/common_utils/src/signals.rs**
  Modify existing code

**crates/common_utils/src/types.rs**
  Remove:
    - impl: impl Visitor<'de> for ClientSecretVisitor
  Add:
    - impl: impl Visitor<'_> for ClientSecretVisitor

**crates/common_utils/src/types/keymanager.rs**
  Modify existing code

**crates/connector_configs/src/common_config.rs**
  Modify existing code

**crates/connector_configs/src/connector.rs**
  Modify existing code

**crates/diesel_models/src/configs.rs**
  Modify existing code

**crates/diesel_models/src/lib.rs**
  Modify existing code

**crates/diesel_models/src/organization.rs**
  Modify existing code

**crates/diesel_models/src/payment_attempt.rs**
  Modify existing code

**crates/diesel_models/src/reverse_lookup.rs**
  Modify existing code

**crates/diesel_models/src/services/logger.rs**
  Modify existing code

**crates/drainer/src/services.rs**
  Modify existing code

**crates/euclid/src/dssa/analyzer.rs**
  Modify existing code

**crates/euclid/src/dssa/graph.rs**
  Modify existing code

**crates/euclid/src/dssa/types.rs**
  Remove:
    - impl: impl CtxValueKind<'a>
  Add:
    - impl: impl CtxValueKind<'_>

**crates/euclid/src/frontend/ast.rs**
  Modify existing code

**crates/euclid/src/frontend/ast/lowering.rs**
  Modify existing code

**crates/euclid/src/frontend/ast/parser.rs**
  Modify existing code

**crates/events/src/lib.rs**
  Modify existing code

**crates/external_services/src/file_storage.rs**
  Modify existing code

**crates/external_services/src/file_storage/file_system.rs**
  Modify existing code

**crates/external_services/src/hashicorp_vault/core.rs**
  Modify existing code

**crates/external_services/src/managers/encryption_management.rs**
  Modify existing code

**crates/external_services/src/managers/secrets_management.rs**
  Modify existing code

**crates/external_services/src/no_encryption.rs**
  Modify existing code

**crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs**
  Modify existing code

**crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs**
  Modify existing code

**crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs**
  Modify existing code

**crates/hyperswitch_connectors/src/connectors/razorpay/transformers.rs**
  Modify existing code

**crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs**
  Modify existing code

**crates/hyperswitch_connectors/src/connectors/worldpay.rs**
  Modify existing code

**crates/hyperswitch_connectors/src/utils.rs**
  Modify existing code

**crates/hyperswitch_constraint_graph/src/graph.rs**
  Modify existing code

**crates/hyperswitch_domain_models/src/merchant_account.rs**
  Modify existing code

**crates/hyperswitch_domain_models/src/payment_method_data.rs**
  Modify existing code

**crates/hyperswitch_interfaces/src/secrets_interface.rs**
  Modify existing code

**crates/hyperswitch_interfaces/src/secrets_interface/secret_state.rs**
  Modify existing code

**crates/kgraph_utils/src/types.rs**
  Modify existing code

**crates/masking/src/abs.rs**
  Modify existing code

**crates/masking/src/boxed.rs**
  Modify existing code

**crates/masking/src/diesel.rs**
  Remove:
    - impl: impl AsExpression<T> for &'expr Secret<S, I>
  Add:
    - impl: impl AsExpression<T> for &Secret<S, I>

**crates/masking/src/lib.rs**
  Modify existing code

**crates/masking/src/maskable.rs**
  Modify existing code

**crates/masking/src/secret.rs**
  Modify existing code

**crates/masking/src/serde.rs**
  Modify existing code

**crates/masking/src/string.rs**
  Modify existing code

**crates/masking/src/strong_secret.rs**
  Modify existing code

**crates/masking/src/vec.rs**
  Modify existing code

**crates/openapi/src/routes/payments.rs**
  Modify existing code

**crates/openapi/src/routes/routing.rs**
  Modify existing code

**crates/pm_auth/src/connector/plaid/transformers.rs**
  Modify existing code

**crates/redis_interface/src/commands.rs**
  Modify existing code

**crates/redis_interface/src/errors.rs**
  Modify existing code

**crates/redis_interface/src/types.rs**
  Modify existing code

**crates/router/src/connector/adyen/transformers.rs**
  Remove:
    - impl: impl TryFrom<(&domain::BankDebitData, &types::PaymentsAuthorizeRouterData)> for AdyenPaymentMethod<'a>
    - impl: impl TryFrom<(&domain::VoucherData, &types::PaymentsAuthorizeRouterData)> for AdyenPaymentMethod<'a>
    - impl: impl TryFrom<(&domain::WalletData, &types::PaymentsAuthorizeRouterData)> for AdyenPaymentMethod<'a>
  Add:
    - impl: impl TryFrom<(&domain::BankDebitData, &types::PaymentsAuthorizeRouterData)> for AdyenPaymentMethod<'_>
    - impl: impl TryFrom<(&domain::VoucherData, &types::PaymentsAuthorizeRouterData)> for AdyenPaymentMethod<'_>

**crates/router/src/connector/braintree/transformers.rs**
  Modify existing code

**crates/router/src/connector/datatrans.rs**
  Modify existing code

**crates/router/src/connector/globalpay/requests.rs**
  Modify existing code

**crates/router/src/connector/paypal/transformers.rs**
  Modify existing code

**crates/router/src/connector/riskified/transformers/api.rs**
  Modify existing code

**crates/router/src/connector/signifyd/transformers/api.rs**
  Modify existing code

**crates/router/src/connector/utils.rs**
  Modify existing code

**crates/router/src/connector/wellsfargopayout.rs**
  Modify existing code

**crates/router/src/core/admin.rs**
  Modify existing code

**crates/router/src/core/payment_methods/cards.rs**
  Modify existing code

**crates/router/src/core/payment_methods/utils.rs**
  Modify existing code

**crates/router/src/core/payments.rs**
  Modify existing code

**crates/router/src/core/payments/helpers.rs**
  Modify existing code

**crates/router/src/core/pm_auth/transformers.rs**
  Modify existing code

**crates/router/src/core/refunds.rs**
  Modify existing code

**crates/router/src/core/routing/helpers.rs**
  Remove:
    - impl: impl RoutingAlgorithmHelpers<'h>
  Add:
    - impl: impl RoutingAlgorithmHelpers<'_>

**crates/router/src/core/user.rs**
  Modify existing code

**crates/router/src/core/user_role/role.rs**
  Modify existing code

**crates/router/src/db/user_authentication_method.rs**
  Modify existing code

**crates/router/src/routes/payment_link.rs**
  Modify existing code

**crates/router/src/routes/payments.rs**
  Modify existing code

**crates/router/src/services/api/client.rs**
  Modify existing code

**crates/router/src/services/authentication/decision.rs**
  Modify existing code

**crates/router/src/services/kafka.rs**
  Modify existing code

**crates/router/src/services/kafka/authentication.rs**
  Remove:
    - impl: impl super::KafkaMessage for KafkaAuthentication<'a>
  Add:
    - impl: impl super::KafkaMessage for KafkaAuthentication<'_>

**crates/router/src/services/kafka/authentication_event.rs**
  Remove:
    - impl: impl super::KafkaMessage for KafkaAuthenticationEvent<'a>
  Add:
    - impl: impl super::KafkaMessage for KafkaAuthenticationEvent<'_>

**crates/router/src/services/kafka/dispute.rs**
  Remove:
    - impl: impl super::KafkaMessage for KafkaDispute<'a>
  Add:
    - impl: impl super::KafkaMessage for KafkaDispute<'_>

**crates/router/src/services/kafka/dispute_event.rs**
  Remove:
    - impl: impl super::KafkaMessage for KafkaDisputeEvent<'a>
  Add:
    - impl: impl super::KafkaMessage for KafkaDisputeEvent<'_>

**crates/router/src/services/kafka/fraud_check.rs**
  Remove:
    - impl: impl super::KafkaMessage for KafkaFraudCheck<'a>
  Add:
    - impl: impl super::KafkaMessage for KafkaFraudCheck<'_>

**crates/router/src/services/kafka/fraud_check_event.rs**
  Remove:
    - impl: impl super::KafkaMessage for KafkaFraudCheckEvent<'a>
  Add:
    - impl: impl super::KafkaMessage for KafkaFraudCheckEvent<'_>

**crates/router/src/services/kafka/payment_attempt.rs**
  Remove:
    - impl: impl super::KafkaMessage for KafkaPaymentAttempt<'a>
  Add:
    - impl: impl super::KafkaMessage for KafkaPaymentAttempt<'_>

**crates/router/src/services/kafka/payment_attempt_event.rs**
  Remove:
    - impl: impl super::KafkaMessage for KafkaPaymentAttemptEvent<'a>
  Add:
    - impl: impl super::KafkaMessage for KafkaPaymentAttemptEvent<'_>

**crates/router/src/services/kafka/payment_intent.rs**
  Remove:
    - impl: impl super::KafkaMessage for KafkaPaymentIntent<'a>
  Add:
    - impl: impl super::KafkaMessage for KafkaPaymentIntent<'_>

**crates/router/src/services/kafka/payment_intent_event.rs**
  Remove:
    - impl: impl super::KafkaMessage for KafkaPaymentIntentEvent<'a>
  Add:
    - impl: impl super::KafkaMessage for KafkaPaymentIntentEvent<'_>

**crates/router/src/services/kafka/payout.rs**
  Remove:
    - impl: impl super::KafkaMessage for KafkaPayout<'a>
  Add:
    - impl: impl super::KafkaMessage for KafkaPayout<'_>

**crates/router/src/services/kafka/refund.rs**
  Remove:
    - impl: impl super::KafkaMessage for KafkaRefund<'a>
  Add:
    - impl: impl super::KafkaMessage for KafkaRefund<'_>

**crates/router/src/services/kafka/refund_event.rs**
  Remove:
    - impl: impl super::KafkaMessage for KafkaRefundEvent<'a>
  Add:
    - impl: impl super::KafkaMessage for KafkaRefundEvent<'_>

**crates/router/src/services/logger.rs**
  Modify existing code

**crates/router/src/types/storage/payment_link.rs**
  Modify existing code

**crates/router/src/types/transformers.rs**
  Modify existing code

**crates/router/src/utils/user_role.rs**
  Modify existing code

**crates/router/src/workflows/payment_sync.rs**
  Modify existing code

**crates/router/tests/connectors/aci.rs**
  Modify existing code

**crates/router_derive/src/lib.rs**
  Modify existing code

**crates/router_derive/src/macros/operation.rs**
  Modify existing code

**crates/router_env/src/lib.rs**
  Modify existing code

**crates/router_env/src/logger/config.rs**
  Modify existing code

**crates/router_env/src/logger/formatter.rs**
  Modify existing code

**crates/router_env/src/logger/setup.rs**
  Modify existing code

**crates/router_env/src/logger/storage.rs**
  Modify existing code

**crates/router_env/src/logger/types.rs**
  Modify existing code

**crates/router_env/tests/logger.rs**
  Modify existing code

**crates/router_env/tests/test_module/mod.rs**
  Remove:
    - mod: pub::some_module

**crates/storage_impl/src/mock_db.rs**
  Modify existing code

**crates/storage_impl/src/redis/cache.rs**
  Remove:
    - impl: impl TryFrom<RedisValue> for CacheRedact<'a>
  Add:
    - impl: impl TryFrom<RedisValue> for CacheRedact<'_>

**crates/storage_impl/src/redis/kv_store.rs**
  Modify existing code