[Snippet rust]
```rust
fn list_payments_attempts(&self) -> &Vec<storage::PaymentAttempt>;
```
Path: hyperswitch/crates/router/src/core/payments.rs :: list_payments_attempts (function, crate=router)

Negatives:
- hyperswitch/crates/api_models/src/payments.rs :: get_connector_customer_id
- hyperswitch/crates/router/src/types/storage/payment_attempt.rs :: test_payment_attempt_mandate_field
- hyperswitch/crates/router/src/core/webhooks/network_tokenization_incoming.rs :: get_response_data
- hyperswitch/crates/hyperswitch_connectors/src/connectors/paypal.rs :: get_url
- hyperswitch/crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs :: build_request