[Snippet rust]
```rust
pub async fn from_request(
```
Path: hyperswitch/crates/router/src/core/payments.rs :: from_request (function, crate=router)

Negatives:
- hyperswitch/crates/router/tests/connectors/santander.rs :: should_refund_auto_captured_payment
- hyperswitch/crates/hyperswitch_connectors/src/connectors/worldpay.rs :: get_error_response
- hyperswitch/crates/router_env/src/logger/config.rs :: config_path
- hyperswitch/crates/hyperswitch_connectors/src/connectors/bambora.rs :: get_webhook_resource_object
- hyperswitch/crates/hyperswitch_connectors/src/connectors/facilitapay.rs :: get_content_type