pub trait TierSlots {
    // Required method
    fn number_of_slots(price: CurrencyAmount) -> u16;
}
Expand description

Trait for calculating the total number of tier slots for the given price.

Required Methods§

source

fn number_of_slots(price: CurrencyAmount) -> u16

Returns the total number of tier slots for the given price.

Object Safety§

This trait is not object safe.

Implementors§