[Snippet rust]
```rust
fn to_validate_request(
```
Path: hyperswitch/crates/router/src/core/payments/operations/payment_session_intent.rs :: to_validate_request (function, crate=router)

Negatives:
- hyperswitch/crates/hyperswitch_connectors/src/connectors/bamboraapac.rs :: handle_response
- hyperswitch/crates/router/src/services/authentication.rs :: authenticate_and_fetch
- hyperswitch/crates/router/src/core/payments.rs :: set_email_if_not_present
- hyperswitch/crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs :: try_from
- hyperswitch/crates/hyperswitch_connectors/src/connectors/bambora.rs :: get_content_type