[Snippet rust]
```rust
fn try_from(item: &ConnectorAuthType) -> Result<Self, Self::Error> {
        if let ConnectorAuthType::HeaderKey { api_key } = item {
            Ok(Self {
                api_key: api_key.to_owned(),
            })
```
Path: hyperswitch/crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs :: try_from (function, crate=hyperswitch_connectors)

Negatives:
- hyperswitch/crates/hyperswitch_connectors/src/connectors/stripe.rs :: get_webhook_source_verification_signature
- hyperswitch/crates/payment_methods/src/controller.rs :: store_default_payment_method
- hyperswitch/crates/router/src/db/events.rs :: insert_event
- hyperswitch/crates/hyperswitch_connectors/src/connectors/signifyd.rs :: get_content_type
- hyperswitch/crates/hyperswitch_connectors/src/connectors/razorpay.rs :: handle_response