[Snippet rust]
```rust
fn try_from(details: BluesnapWebhookObjectEventType) -> Result<Self, Self::Error> {
        match details.transaction_type {
            BluesnapWebhookEvents::Decline | BluesnapWebhookEvents::CcChargeFailed => {
                Ok(Self::PaymentIntentFailure)
            }
```
Path: hyperswitch/crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs :: try_from (function, crate=hyperswitch_connectors)

Negatives:
- hyperswitch/crates/hyperswitch_connectors/src/connectors/coinbase/transformers.rs :: get_local_price
- hyperswitch/crates/router/src/routes/payment_methods.rs :: delete
- hyperswitch/crates/router/src/db/kafka_store.rs :: find_merchant_connector_account_by_merchant_id_connector_name
- hyperswitch/crates/hyperswitch_domain_models/src/payment_method_data.rs :: from
- hyperswitch/crates/hyperswitch_connectors/src/connectors/paysafe.rs :: build_request