[Snippet rust]
```rust
fn from(value: enums::RealTimePaymentType) -> Self {
        match value {
            enums::RealTimePaymentType::Fps => Self::Fps,
            enums::RealTimePaymentType::DuitNow => Self::DuitNow,
            enums::RealTimePaymentType::PromptPay => Self::PromptPay,
```
Path: hyperswitch/crates/euclid/src/frontend/dir/lowering.rs :: from (function, crate=euclid)

Negatives:
- hyperswitch/crates/router/src/utils/user/two_factor_auth.rs :: insert_totp_in_redis
- hyperswitch/crates/hyperswitch_connectors/src/connectors/forte.rs :: build_request
- hyperswitch/crates/hyperswitch_connectors/src/connectors/getnet.rs :: get_request_body
- hyperswitch/crates/hyperswitch_connectors/src/connectors/thunes.rs :: get_error_response
- hyperswitch/crates/router/src/db.rs :: insert_organization