pub trait NominationsQuota<Balance> {
    type MaxNominations: Get<u32>;
    // Required method
    fn curve(balance: Balance) -> u32;
    // Provided method
    fn get_quota(balance: Balance) -> u32 { ... }
}Expand description
Something that defines the maximum number of nominations per nominator based on a curve.
The method curve implements the nomination quota curve and should not be used directly.
However, get_quota returns the bounded maximum number of nominations based on fn curve and
the nominator’s balance.
Required Associated Types§
Sourcetype MaxNominations: Get<u32>
 
type MaxNominations: Get<u32>
Strict maximum number of nominations that caps the nominations curve. This value can be used as the upper bound of the number of votes per nominator.
Required Methods§
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.