[Snippet rust]
```rust
fn set_connector_in_payment_attempt(&mut self, connector: Option<String>);
```
Path: hyperswitch/crates/router/src/core/payments.rs :: set_connector_in_payment_attempt (function, crate=router)

Negatives:
- hyperswitch/crates/hyperswitch_connectors/src/connectors/vgs.rs :: get_headers
- hyperswitch/crates/hyperswitch_connectors/src/connectors/xendit.rs :: handle_response
- hyperswitch/crates/router/tests/connectors/payjustnow.rs :: should_refund_succeeded_payment_multiple_times
- hyperswitch/crates/euclid_macros/src/inner/knowledge.rs :: detect_graph_cycles
- hyperswitch/crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs :: try_from