[Snippet rust]
```rust
fn from(value: &MetaData) -> Self {
        match value {
            MetaData::ProductionAgreement(_) => Self::ProductionAgreement,
            MetaData::SetupProcessor(_) => Self::SetupProcessor,
            MetaData::ConfigureEndpoint(_) => Self::ConfigureEndpoint,
```
Path: hyperswitch/crates/router/src/types/domain/user/dashboard_metadata.rs :: from (function, crate=router)

Negatives:
- hyperswitch/crates/hyperswitch_connectors/src/connectors/zift.rs :: handle_response
- hyperswitch/crates/hyperswitch_connectors/src/connectors/razorpay.rs :: get_content_type
- hyperswitch/crates/router/src/core/payments/helpers.rs :: get_little_endian_format
- hyperswitch/crates/diesel_models/src/ephemeral_key.rs :: get_api_event_type
- hyperswitch/crates/masking/src/bytes.rs :: fmt