Trait AsPaymentMethod

Source
pub trait AsPaymentMethod: Display + IntoEnumIterator {
    // Provided method
    fn payment_methods_all() -> String { ... }
}
Expand description

Methods that takes this trait, you should pass either OtherMethods or CreditCard.

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§