[Snippet rust]
```rust
fn from(item: NovalnetTransactionStatus) -> Self {
        match item {
            NovalnetTransactionStatus::Success | NovalnetTransactionStatus::Confirmed => {
                Self::Charged
            }
```
Path: hyperswitch/crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs :: from (function, crate=hyperswitch_connectors)

Negatives:
- hyperswitch/crates/hyperswitch_connectors/src/connectors/worldpayxml.rs :: get_error_response
- hyperswitch/crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs :: try_from
- hyperswitch/crates/router/tests/connectors/coinbase.rs :: get_default_payment_info
- hyperswitch/crates/hyperswitch_connectors/src/connectors/facilitapay.rs :: get_headers
- hyperswitch/crates/hyperswitch_connectors/src/connectors/recurly.rs :: build_request_v2