[Snippet rust]
```rust
fn foreign_try_from(item: domain::MerchantAccount) -> Result<Self, Self::Error> {
        let merchant_id = item.get_id().to_owned();
        let primary_business_details: Vec<api_models::admin::PrimaryBusinessDetails> = item
            .primary_business_details
            .parse_value("primary_business_details")?;
```
Path: hyperswitch/crates/router/src/types/api/admin.rs :: foreign_try_from (function, crate=router)

Negatives:
- hyperswitch/crates/router/src/connector/utils.rs :: get_request_id
- hyperswitch/crates/api_models/src/events/routing.rs :: get_api_event_type
- hyperswitch/crates/hyperswitch_connectors/src/connectors/paysafe.rs :: get_url
- hyperswitch/crates/router/src/core/payments.rs :: get_token_data
- hyperswitch/crates/hyperswitch_connectors/src/connectors/placetopay.rs :: build_error_response