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

Negatives:
- hyperswitch/crates/hyperswitch_connectors/src/connectors/paysafe.rs :: get_headers
- hyperswitch/crates/euclid/src/frontend/dir.rs :: get_allowed_keys
- hyperswitch/crates/router/tests/connectors/fiservemea.rs :: should_fail_void_payment_for_auto_capture
- hyperswitch/crates/hyperswitch_connectors/src/connectors/opayo.rs :: id
- hyperswitch/crates/api_models/src/payments.rs :: expecting