Enum diem_types::transaction::GovernanceRole [−][src]
pub enum GovernanceRole {
DiemRoot,
TreasuryCompliance,
Validator,
ValidatorOperator,
DesignatedDealer,
NonGovernanceRole,
}
Variants
Implementations
The higher the number that is returned, the greater priority assigned to a transaction sent from an account with that role in mempool. All transactions sent from an account with role priority N are ranked higher than all transactions sent from accounts with role priorities < N. Transactions from accounts with equal priority are ranked base on other characteristics (e.g., gas price).
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for GovernanceRole
impl Send for GovernanceRole
impl Sync for GovernanceRole
impl Unpin for GovernanceRole
impl UnwindSafe for GovernanceRole
Blanket Implementations
Mutably borrows from an owned value. Read more