[Snippet rust]
```rust
pub fn new_single(value: T) -> Self {
        Self::Single(value)
    }
```
Path: hyperswitch/crates/hyperswitch_connectors/src/connectors/netcetera/netcetera_types.rs :: new_single (function, crate=hyperswitch_connectors)

Negatives:
- hyperswitch/crates/common_utils/src/new_type.rs :: test_apply_mask_fn
- hyperswitch/crates/hyperswitch_connectors/src/utils.rs :: get_billing_city
- hyperswitch/crates/hyperswitch_connectors/src/connectors/braintree.rs :: get_headers
- hyperswitch/crates/hyperswitch_connectors/src/connectors/moneris/transformers.rs :: from
- hyperswitch/crates/router/src/db/address.rs :: update_address