pub trait BudgetRecipientList<AccountId> {
// Required method
fn recipients() -> Vec<(BudgetKey, AccountId)>;
}Expand description
Aggregates multiple BudgetRecipients into a list.
Implemented for tuples of BudgetRecipient types, allowing runtime configuration like:
ⓘ
type BudgetRecipients = (StakerRewardRecipient, ValidatorIncentiveRecipient);Required Methods§
Sourcefn recipients() -> Vec<(BudgetKey, AccountId)>
fn recipients() -> Vec<(BudgetKey, AccountId)>
Collect all registered recipients as (key, account) pairs.
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.